Question: in c + + form thanks Write a program for each of the following problem statements: 5 points - documentation for programs ( comments ,

in c++ form thanks Write a program for each of the following problem statements:
5 points - documentation for programs (comments, descriptive program names, descriptive variable names)
1.(menushape.cpp) Create a program that displays a menu to calculate the area of a circle, a rectangle, a square, or a triangle. The program should calculate the area of the figure selected. The display should look something like this:
Shape Area Calculator (SAC)
1. Calculate the area of a Circle
2. Calculate the area of a Rectangle
3. Calculate the area of a Square
4. Calculate the area of a Triangle
5. Quit
Enter your choice (1-5):
10 points - display of menu
10 points - validate input for menu options
20 points - correct output for each option
2.(mathgame.cpp) Create a program that displays a menu to select addition, subtraction, or multiplication. Using random numbers between 0 and 12(including 0 and 12), present a math problem of the type selected to the user. Display a "correct" or "incorrect" message after the user enters their answer.
10 points - display of menu
10 points - validate input for menu options
10 points - correct addition
10 points - correct subtraction
5 points - no negative answers allowed for subtraction
10 points - correct multiplication
10 bonus points - implement a division option with no decimal answers and no division by zero

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 Programming Questions!