Question: Program Four function calculator Worth 25 points Requirements: Create a simple 4 function calculator User enters first number User enters one of four symbols: +
Program Four function calculator
Worth 25 points
Requirements:
- Create a simple 4 function calculator
- User enters first number
- User enters one of four symbols: + - * /
- User enters second number
- Program calculates the answer based on the symbol entered
- Program displays the problem and the answer
Technical Requirements:
- Use at least one if, if-else, or if-elif-else statement to determine action to take based on symbol
- Input and output should remarkably match the sample input and output
- Use input statements to enter both numbers and the symbol
- Include comments
Sample Input:
Enter a number: 4
Enter a symbol for mathematical operation either: + - * /: +
Enter a second number: 7
Sample Output:
4 + 7 = 11
Dont forget to include your design documents, your source code, and screen shot(s) of your output.
Insert Analysis/Design or Pseudocode Here:
| Step 0: Initialize | Step 1: Input | Step 2: Process | Step 3: Output |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
