Question: Assignment # 2 Write a program that accepts from the keyboard the length and width of a rectangular yard and the length and width of

Assignment #2
Write a program that accepts from the keyboard the length and width of a rectangular yard and the length and width of a rectangular house, situated in the yard. Your program should compute the time required to cut the grass at the rate of 2 square meters per second.
Develop an algorithm or flowchart for the above program requirements.
Convert the algorithm or flowchart into C++ code.
Your output must include the following:
Your Name, assignment #, and due date.
The length and width of the house.
The length and width of the yard.
The size of the house in square meters
The size of the yard in square meters.
The total number of seconds required to cut the grass.
The number of hours, minutes and seconds to cut the grass. 4:7:30
Label all output values.
Submit in Canvas your algorithm or flowchart, copy of your source code (C++ code) and a print screen or snipping of the output.
Test your code with a house size of 1030 and yard size of 100300.
Documentation will be 20% of your grade.
Your source code must contain the following documentation.
Header information:
Your Name, course & section number, assignment number and due date.
2. A brief description of your assignment.
3. Variable dictionary: A brief description of every variable used in your program.
4. Comments related to input and output of data and all formulas used in your code.
Assignment # 2 Write a program that accepts from

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!