Question: Programming Project (Fall 2018) Due Date: CSC-115 C++ programming language Write a program to calculate the area of four shapes (Rectangle, triangle, circle and square).
Programming Project (Fall 2018) Due Date: CSC-115 C++ programming language Write a program to calculate the area of four shapes (Rectangle, triangle, circle and square). The program to present the user with a menu where one of the shapes can be selected Based on the selection made, the user enters the proper input, the program validates the input (ie all entries must be greater than zero) Once the input is entered and validated, the intended area is calculated and the entered information along with the area are displayed. Area of the Square Side 2 Area of the Rectangle Length Width Area of the Triangle . Base * Hight Area of the Circle PI RA2 You MUST apply the following to your program: 1) An if else or a switch statement to present the selection menu 2) A loop to validate the input. 3) Formatted output. 4) Full documentation 5) The program is to rerun based on the user's request (a loop to restart) Hand in the following a) b) A detailed and precise design in pseudocode. (design must match 1 to 1 with the source code) A FULLY documented source code. Screenshots of all output scenarios. c) Prof. F. Aljamal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
