Create a program that will do the following: (Solution should be a combination of if or if-else or nested if and Switch Cases).
Press 1 to ADD
Press 2 to Subtract
Press 3 to Multiply
Press 4 to Divide
Enter Option Here: ___
Enter First Number: ___
Enter Second Number: ___
Output: ___
Note:
Extracted text: 6. Create a program that will do the following: (Solution should be a combination ofif or if- else or nested if and Switch Cases). Press 1 to ADD Press 2 to Subtract Press 3 to Multiply Press 4 to Divide Enter Option Here: Enter First Number: Enter Second Number: Output: Note: A. Dividing with zero is not pos sible. B. Pressing other character, display "Invalid Operation", then end the program. C. First Number, second number and the output can be a floating value. D. Round-off the output in 3 decimal places. E. You may add other pos sibilities to make the program better. Ac
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here