Question: C++ help ASSIGNMENT 1 Build an algorithm that reads an integral number x from the console (input from the user),. computes the area of the

 C++ help ASSIGNMENT 1 Build an algorithm that reads an integral

C++ help

ASSIGNMENT 1 Build an algorithm that reads an integral number x from the console (input from the user),. computes the area of the square ABED (with side x). computes the area of the rectangle ACFD (with length x x and height x) "computes the area of the circle with center E (and side x) . outputs the 3 areas to the console. Search the web or your math textbook for the correct formulas for the requested shapes area. As part of the assignment you need to write the flowchart for the algorithm AND the Cs program for the algorithm. Your flowchart and program should be user-friendly (prompt user for input and show a message/explain the utputting the numeric value for the area) and programmer-friendly (have comments at the beginning of the code explaining the program, and have comments before eact line of code explaining what the line is doing) For example, the output should look like this (and work for any value x entered from the user) This program calculates the area of a square, rectangle, and cirele detined based on a Enter the value for x: The area of the square with side 5 is The area of the rectangle with length and height is The area of the circle vith radius 5s 80

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!