write a program that reads in the length and the width of a rectangular yard . your program should compute the time required ( i n minutes ) to cut the grass at the rate of 2.3 square meters a second
1 answer:
Here's on C: #include<stdlib.h> <span>#include<stdio.h> </span> <span>#include<conio.h> </span> <span>long YardArea=0,HouseArea=0; </span> <span>int YardLength=0,YardWidth=0,HouseLength=0,HouseWidth=0; </span> <span>long GroundArea=0; </span> <span>int TimeReqierd=0; </span> <span>int GrassCutRate=2; </span> <span>void main() </span> <span>{ </span> <span>char inp[256]; </span> <span>clrscr(); </span> <span>printf("your text text\n"); // put your greetings</span> <span>printf("Input the leght of the yard\n"); </span> <span>gets(inp); </span> <span>YardLength= atoi(inp); </span> <span>printf("input the width of the yard\n"); </span> <span> gets(inp); </span> <span>YardWidth=atoi(inp); </span> <span> printf("input the length of the house\n"); </span> <span> gets(inp); </span> <span>HouseLength=atoi(inp); </span> printf("input <span>the width of the house\n"); </span> <span> gets(inp); </span> <span>HouseWidth=atoi(inp); </span> <span>HouseArea=HouseWidth *HouseLength ; </span> <span>YardArea=YardWidth* YardLength; </span> <span>GroundArea=YardArea-HouseArea; </span> <span> TimeReqierd=GroundArea/GrassCutRate; </span> <span>printf("%s%d","Grass Area is ",GroundArea); </span> <span>printf("%s%d seconds"," \n time required to cut it out " ,TimeReqierd); </span> <span>getchar(); </span> <span>} </span>
You might be interested in
Answer:
one piece lol
Explanation:
Answer:2.render 3.resolution 4.visual communication 5.rasterizing 6.nondestructive 7.stroke&fill 8.lines&path 9.pixels
Explanation:
A computer is a device whose main function is to process large amounts of information quickly and accurately, and this procedure is done thanks to hardware and software.
Answer:
(B) plug and play
Explanation:
If a device does not require a driver, it is <u>plug and play</u>. Plug and Play (PnP) is a combination of hardware and software support that enables a computer system to recognize and adapt to hardware configuration changes with little or no intervention by a user, including the loading of appropriate drivers.
Answer:
The IBM 1401 is a variable-word length decimal computer that was announced by IBM on October 5, 1959.