Write a program called [YourName]-Assignment1B (replace [YourName] with your actual name, no spaces, no square brackets) that reads an integral number x from the console (input from the user), computes the areas of the square ACEG (with side x+x ), the areas of the rectangle ABHG (with length x and height x+x ), the areas of the circle with center E (and radius x ), and outputs the 3 areas to the console (without lines, with 2 decimals precision for the areas values) in the following format from the box below 1 : see image.

This program calculates the area of a square, rectangle, and circle define based on a
value x.
Enter the value for x: ValueForX
The areas are:
SHAPE AREA
Square ValueForTheAreaOfTheSquare
Rectangle ValueForTheAreaOfTheRectangle
Circle ValueForTheAreaOfTheCircle

Your program should be user-friendly (prompt user for input and show a message/explain the output before outputting the numeric value for the area) and programmer-friendly (have comments at the beginning of the code explaining the program and before each line of code explaining what the line is doing).

For example, if the user enters 5 for x, then the output should look like this (without colors or lines):

This program calculates the area of a square, rectangle, and circle define based on a value x.
Enter the value for x: 5
The areas are:
SHAPE AREA
Square 100.00
Rectangle 50.00
Circle 78.50

Create a Microsoft Word document called [YourName]-Assignment1B.docx (replace [YourName] with your name, no spaces) that contains screenshots of your entire C++ code (take multiple screenshots if the code is larger than one screen), and the entire console output (take multiple screenshots if the output is larger than one window).

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.