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 users 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 students 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.

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. Show transcribed image text 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.