
More projects:
Calculator
1. Build a simple calculator.
2. Prompt the user for a number, an operation, and another number. Store these values in variables named number1, operation, and
number2.
3. Using the variables number1, operation, and number2, calculate the result of the operation and display it. For example, if the user
enters “2”, “+”, and “4”, display “6” because 2+4=6. Hint: You will need one more variable.
4. Click the green flag to test your project.
5. Name your project Calculator and save it.
Komentarze do niniejszej Instrukcji