My first program
Well I made a lot of stuff, but this I made on my own .
It's a simple calculator program that can deal with 2 numbers and can either Add, Subtract, Multiply, or Divide them.
It's not much but I'm happy *tear*.
It's only really 48 lines of code though.
Instructions:
Once you start the program it asks you whether you want to
[1] Add.
[2] Subtract.
[3] Multiply.
[4] Or Divide.
So ya just type 1, 2, 3, or 4 and press enter.
Then you HAVE to enter 2 numbers either:
*enter 1 then press enter then enter the 2nd and press enter.
*Or enter one, then press the spacebar and enter the 2nd, then press enter.
Then it solves the equation.
Here it is.
I updated it so when you enter an invalid number at the main menu, then it will loop around so you can try again. Instead of aborting the operation.