Answered step by step
Verified Expert Solution
Question
1 Approved Answer
C++ program Description: Write a program to help students practice their mathematical skills. The program st by displaying the menu shown below and by asking
C++ program
Description: Write a program to help students practice their mathematical skills. The program st by displaying the menu shown below and by asking the user to input his/her choice. arts 1) Addition 2) Subtraction 3) Multiplication 4) Division 5) Power 6) Exit the program Enter Your Choice: Acting on the user's choice, your program must have 6 different cases to solve the problem. For the first 5 cases you program have to do the following: . Asks the user to input two decimal numbers. 2. Asks the user to input his/her guessed answer. 3. Let your program calculate the result. 4. Compares the 2 results and displays whether the student's answer is true or false. 5. Redisplay the menu and asks the user to input a new choice. Note: . Your program has to deal with the cases when the user inputs a wrong choice. The program keeps on running in a loop until option 6 is chosen. Limits the decimal to three digits after the decimal point. Finally, your program must output the following statistics: "Addition" operations. . The total number and the percentage of The total number and the percentage of "Subtraction" operations The total number and the percentage of "Multiplication" operations. The total number and the percentage of "Division" operations The total number and the percentage of "Pow Total number and the percentage of true answer. er" o perations. .Total number and the percentage of false answer. The overall number of operations
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started