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 fascinate transcribe it with C program.(Visual studio)
    Thanks
    Do referable attributable attributable attributable pattern further than 80 characters per course. Programs 1. You and a lacking friends are unmanageable to gain a lacking extra dollars occasion in initiate and possess working a lawn mowing verification. Your verification has been compensated by a divergence that pays coercion complete lawn economy. Complete of the hazards and the homes in the divergence are across in cem. Complete homes also possess a across particularized driveway. Some homes possess a separate round landscaped area that contains no grass that needs to be carve. Brace hundred balance feet of lawn can be mowed in individual microscopic. Since you are doing complete scheduling, you possess resolute to transcribe a C program that estimates the whole of interval it is going to seize to mow a local lawn. Transcribe a program which get confirm verificationr input coercion lawn, offspring, drivemethod and dissipation book and get evidence twain the sum of balance feet to be mowed and the interval required to mow the lawn. Follow the guidelines adown Define PI as a defined immutable (preprocessor instruct) with a treasure of 3.14159265. Prompt the verificationr each bulk treasure (hazard width, hazard tediousness, offspring width, offspring tediousness, controleseeing) If no round landscaped area is bestow, the verificationr should penetrate cipher coercion the configuration(s). Verification incomplete purpose sums coercion book and area, except verification integers coercion hours and . microscopics. The area that is to be mowed should be evidenceed on the harbor using brace decimal digits. 5 6 Ul
    media%2F25b%2F25b3d2bc-e9b8-4377-8bb8-42

    Do referable attributable attributable attributable pattern further than 80 characters per course. Programs 1. You and a lacking friends are unmanageable to gain a lacking extra dollars occasion in initiate and possess working a lawn mowing verification. Your verification has been compensated by a divergence that pays coercion complete lawn economy. Complete of the hazards and the homes in the divergence are across in cem. Complete homes also possess a across particularized driveway. Some homes possess a separate round landscaped area that contains no grass that needs to be carve. Brace hundred balance feet of lawn can be mowed in individual microscopic. Since you are doing complete scheduling, you possess resolute to transcribe a C program that estimates the whole of interval it is going to seize to mow a local lawn. Transcribe a program which get confirm verificationr input coercion lawn, offspring, drivemethod and dissipation book and get evidence twain the sum of balance feet to be mowed and the interval required to mow the lawn. Follow the guidelines adown Define PI as a defined immutable (preprocessor instruct) with a treasure of 3.14159265. Prompt the verificationr each bulk treasure (hazard width, hazard tediousness, offspring width, offspring tediousness, controleseeing) If no round landscaped area is bestow, the verificationr should penetrate cipher coercion the configuration(s). Verification incomplete purpose sums coercion book and area, except verification integers coercion hours and . microscopics. The area that is to be mowed should be evidenceed on the harbor using brace decimal digits. 5 6 Ul

    Expert Counterpart

     

    //200 balance feet = 1 min

    #include<stdio.h>

    #include<conio.h>

    int main()

    {

    //define PI as immutable

    const transport PI = 3.14159265;

    transport lawnWidth, lawnLength, offspringWidth, offspringLength;

    transport driverWayWidth, driverWayLength, radius;

    printf(“n Penetrate Lawn width : “);

    scanf(“%f”,&lawnWidth);

    printf(“n Penetrate Lawn tediousness : “);

    scanf(“%f”, &lawnLength);

    printf(“n Penetrate Offspring Width : “);

    scanf(“%f”, &houseWidth);

    printf(“n Penetrate Offspring Tediousness : “);

    scanf(“%f”, &houseLength);

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

    scanf(“%f”, &driverWayWidth);

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

    scanf(“%f”, &driverWayLength);

    printf(“n Penetrate radius : “);

    scanf(“%f”,& radius);

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

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

    lawnArea = lawnLength*lawnWidth;

    houseArea = offspringLength*houseWidth;

    driverWayArea = driverWayLength*driverWayWidth;

    circularArea = PI*radius*radius;

    transport totalArea = lawnArea + offspringArea + driverWayArea + roundArea;

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

    transport interval = totalArea / 200;

    int min = interval;

    int hr=0;

    printf(“nInterval = %.2f”, interval);

    occasion (min > 60)

    {

    hr++;

    min = min – 60;

    }

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

    getch();

    return 0;

    }

    //output:–.