Question: C++ ONLY PLEASE. Thank You. In this assignment, you will create a very particular calculator that works with up to 3 integer and non-negative numbers

C++ ONLY PLEASE. Thank You.

C++ ONLY PLEASE. Thank You. In this assignment, you will create a

In this assignment, you will create a very particular calculator that works with up to 3 integer and non-negative numbers at a time. The desired operation is provided ahead of the four numbers. Develop the program as follows: 1. Ask the desired operation. Valid inputs include (see the left column): 's' or 'S' or '+' shows the sum of the non-negative inputs 'a' or 'A shows the average of the non-negative inputs 'z' or 'Z says how many of the non-negative inputs are zero 'e' or 'E says how many of the non-negative inputs are even 'c' or 'C shows the middle number of either all the inputs or just the non-negative ones you decide) 'L shows the largest number (same as above) 't' or "T says whether any of the 3 non-negative inputs is divisible by 2 AND 3 'p' or 'p says whether the sum of any two inputs adds to the third one when all 3 numbers are non-negative. If any input is negative, then just show "False". 2. If the operation is not valid (i.e., it is not one of the symbols listed in the table above), print an error message and exit the program. 3. Execute the operation and show the result(s). Despite the inputs are all integers, the result(s) may not be. Show the numberical answers using exactly 2 numbers in the decimal part. 4. Ask the user whether she/he wishes to execute another operation. If so, execute from step 2. If not, say goodbye and exit the program. 5. Write and test your code using CodeBlocks, Visual Studio, or Xcode (or similar software). 6. Add comments to every step of your code and properly format your code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!