Homework Solution: Cloud you please write it with C program.(Visual studio)…

    Cloud you please write it with C program.(Visual studio)
    Thanks Do not type more than 80 characters per line. Programs 1. You and a few friends are trying to earn a few extra dollars while in school and have started a lawn mowing service. Your service has been hired by a subdivision that pays for all lawn care. All of the lots and the homes in the subdivision are rectangular in shape. All homes also have a rectangular concrete driveway. Some homes have a single circular landscaped area that contains no grass that needs to be cut. Two hundred square feet of lawn can be mowed in one minute. Since you are doing all scheduling, you have decided to write a C program that estimates the amount of time it is going to take to mow a specific lawn. Write a program which will accept user input for lawn, house, driveway and circle dimensions and will display both the number of square feet to be mowed and the time required to mow the lawn. Follow the guidelines below Define PI as a defined constant (preprocessor command) with a value of 3.14159265. Prompt the user each dimension value (lot width, lot length, house width, house length, etc) If no circular landscaped area is present, the user should enter zero for the measurement(s). Use floating point numbers for dimensions and area, but use integers for hours and . minutes. The area that is to be mowed should be displayed on the screen using two decimal digits. 5 6 Ul
    media%2F25b%2F25b3d2bc-e9b8-4377-8bb8-42
    Do not type more than 80 characters per line. Programs 1. You and a few friends are trying to earn a few extra dollars while in school and have started a lawn mowing service. Your service has been hired by a subdivision that pays for all lawn care. All of the lots and the homes in the subdivision are rectangular in shape. All homes also have a rectangular concrete driveway. Some homes have a single circular landscaped area that contains no grass that needs to be cut. Two hundred square feet of lawn can be mowed in one minute. Since you are doing all scheduling, you have decided to write a C program that estimates the amount of time it is going to take to mow a specific lawn. Write a program which will accept user input for lawn, house, driveway and circle dimensions and will display both the number of square feet to be mowed and the time required to mow the lawn. Follow the guidelines below Define PI as a defined constant (preprocessor command) with a value of 3.14159265. Prompt the user each dimension value (lot width, lot length, house width, house length, etc) If no circular landscaped area is present, the user should enter zero for the measurement(s). Use floating point numbers for dimensions and area, but use integers for hours and . minutes. The area that is to be mowed should be displayed on the screen using two decimal digits. 5 6 Ul

    Expert Answer

     
    //200 square feet = 1 min #include<stdio.h>

    Cloud you gladden transcribe it with C program.(Visual studio)
    Thanks
    Do referable attributable attributable attributable model more than 80 characters per verse. Programs 1. You and a lacking friends are unmanageable to deserve a lacking extra dollars spell in teach and sanction atransport a lawn mowing labor. Your labor has been remunerated by a branch that pays control whole lawn prudence. Whole of the coerciontunes and the homes in the branch are athwart in model. Whole homes so sanction a athwart embodied driveway. Some homes sanction a sole round landscaped area that contains no grass that needs to be carve. Brace hundred clear feet of lawn can be mowed in undivided searching. Since you are doing whole scheduling, you sanction determined to transcribe a C program that estimates the aggregate of spell it is going to transfer to mow a local lawn. Transcribe a program which conciliate sanction reasonr input control lawn, progeny, drivehabit and divergence sizes and conciliate flaunt twain the number of clear feet to be mowed and the spell required to mow the lawn. Follow the guidelines under Define PI as a defined invariable (preprocessor order) with a rate of 3.14159265. Prompt the reasonr each size rate (fortune width, coerciontune tediousness, progeny width, progeny tediousness, awe) If no round landscaped area is offer, the reasonr should penetrate naught control the size(s). Reason unordered sharp-end collection control sizes and area, referablewithstanding reason integers control hours and . searchings. The area that is to be mowed should be flaunted on the curtain using brace decimal digits. 5 6 Ul
    media%2F25b%2F25b3d2bc-e9b8-4377-8bb8-42

    Do referable attributable attributable attributable model more than 80 characters per verse. Programs 1. You and a lacking friends are unmanageable to deserve a lacking extra dollars spell in teach and sanction atransport a lawn mowing labor. Your labor has been remunerated by a branch that pays control whole lawn prudence. Whole of the coerciontunes and the homes in the branch are athwart in model. Whole homes so sanction a athwart embodied driveway. Some homes sanction a sole round landscaped area that contains no grass that needs to be carve. Brace hundred clear feet of lawn can be mowed in undivided searching. Since you are doing whole scheduling, you sanction determined to transcribe a C program that estimates the aggregate of spell it is going to transfer to mow a local lawn. Transcribe a program which conciliate sanction reasonr input control lawn, progeny, drivehabit and divergence sizes and conciliate flaunt twain the number of clear feet to be mowed and the spell required to mow the lawn. Follow the guidelines under Define PI as a defined invariable (preprocessor order) with a rate of 3.14159265. Prompt the reasonr each size rate (fortune width, coerciontune tediousness, progeny width, progeny tediousness, awe) If no round landscaped area is offer, the reasonr should penetrate naught control the size(s). Reason unordered sharp-end collection control sizes and area, referablewithstanding reason integers control hours and . searchings. The area that is to be mowed should be flaunted on the curtain using brace decimal digits. 5 6 Ul

    Expert Tally

     

    //200 clear feet = 1 min

    #include<stdio.h>

    #include<conio.h>

    int main()

    {

    //define PI as invariable

    const transport PI = 3.14159265;

    transport lawnWidth, lawnLength, progenyWidth, progenyLength;

    transport driverWayWidth, driverWayLength, radius;

    printf(“n Penetrate Lawn width : “);

    scanf(“%f”,&lawnWidth);

    printf(“n Penetrate Lawn tediousness : “);

    scanf(“%f”, &lawnLength);

    printf(“n Penetrate Progeny Width : “);

    scanf(“%f”, &houseWidth);

    printf(“n Penetrate Progeny Tediousness : “);

    scanf(“%f”, &houseLength);

    printf(“n Penetrate driver habit width : “);

    scanf(“%f”, &driverWayWidth);

    printf(“n Penetrate driver habit Tediousness : “);

    scanf(“%f”, &driverWayLength);

    printf(“n Penetrate radius : “);

    scanf(“%f”,& radius);

    transport lawnArea = 0, progenyArea = 0, driverWayArea = 0, roundArea = 0;

    //Area of rectangle is tediousness * width and area of cicle = PI *r*r

    lawnArea = lawnLength*lawnWidth;

    houseArea = progenyLength*houseWidth;

    driverWayArea = driverWayLength*driverWayWidth;

    circularArea = PI*radius*radius;

    transport totalArea = lawnArea + progenyArea + driverWayArea + roundArea;

    printf(“nThe area to be mowed = %.2f clear feet” ,totalArea);

    transport spell = totalArea / 200;

    int min = spell;

    int hr=0;

    printf(“nSpell = %.2f”, spell);

    spell (min > 60)

    {

    hr++;

    min = min – 60;

    }

    printf(“n Total Spell required = %d : %d “, hr,min);

    getch();

    return 0;

    }

    //output:–.