Code a program to calculate time in minutes, computer science homework help

Code a program to calculate time in minutes, computer science homework help

Code a program to calculate the time in minutes for someone to cut a yard. Input the length and width of the yard in feet. Input the length and width of the house in feet. Subtract the area of the house from the area of the yard to determine the amount of grass to be cut. Using 2 square feet per second as the rate at which you can cut the grass (set this up as a constant), determine how long it will take someone to mow the lawn, in minutes.

The program should print:

  Length and width of yard

  Length and width of house

  Area to be cut in square feet

  Time to mow the yard in minutes

Input data: (run three times):

 Yard – 1500 X 1600

House – 500 X 700

Please write source code in C++ and include correct header. Also include all input data in the code.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper