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 #
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 square meters per second.
Develop an algorithm or flowchart for the above program requirements.
Convert the algorithm or flowchart into 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. ::
Label all output values.
Submit in Canvas your algorithm or flowchart, copy of your source code code and a print screen or snipping of the output.
Test your code with a house size of and yard size of
Documentation will be of your grade.
Your source code must contain the following documentation.
Header information:
Your Name, course & section number, assignment number and due date.
A brief description of your assignment.
Variable dictionary: A brief description of every variable used in your program.
Comments related to input and output of data and all formulas used in your code.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
