1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
PtichkaEL [24]
3 years ago
5

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
Computers and Technology
1 answer:
sveticcg [70]3 years ago
3 0
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
Choosing the “Quick Print” button will ____________.
harkovskaia [24]
Choosing the "Quick Print" button will print to the default print (Answer is B). The quick print function is accessible in the Quick Access Tool bar . By clicking the drop down arrow of the quick access tool bar it will let you choose different types of default access including your Quick print.
7 0
4 years ago
Where do you place the title tag in HTML​
makkiz [27]

Answer:

The title tag is basically your saved document

Save as and poof

High Hopes^^

Barry-

5 0
3 years ago
Green Field county stadium is planning to conduct a cricket match between two teams A and B. A large crowd is expected in the st
Thepotemich [5.8K]

Answer: Where is the rest of your question?

Explanation:

8 0
4 years ago
Read 2 more answers
Today's Apple Mac computers run with the same internal hardware as the Windows-based PC.
sergejj [24]
I would say yes


If you look at the more modern Mac laptop or the MacBook Pro you will see that the core that is being used is an intel core m3 - m7 which would be a custom take on the intel cores i3 - i7 on an actual windows PC, when you compare them, both cores come from the same company and they both have power that is indicated by their name and rank as well as the motherboards which are made to support the cores which are usually under a 64 - bit architecture as far as my concern goes
6 0
3 years ago
Karl from Accounting is in a panic. He is convinced that he has identified malware on the servers—a type of man-in-the-middle at
Olegator [25]

Answer:

The correct answer will be "Man-in-the-browser".

Explanation:

  • Man-in-the-browser seems to be a category of person-in-the-middle attack where a certain Trojan horse tries to misrepresent calls between some of the web pages and therefore it is prevention systems while still demonstrating the intentional transfer of funds back to the customer.
  • High-tech as well as high-amount technology for starting a man throughout the internet explorer assaults.
8 0
3 years ago
Other questions:
  • All of the following are search operators EXCEPT _______________. a. AND b. OR c. NOT d. GET
    12·2 answers
  • Write a method named lastFirst that accepts a string as its parameter representing a person's first and last name. The method sh
    13·1 answer
  • Nina is trying to learn more about how computers work. She has repeatedly read that the motherboard is the "brain” of the comput
    7·2 answers
  • The IT department has rejected the password you submitted for approval to join the network. Your suggestion was "bobbie." Why di
    14·2 answers
  • In a typical e-mail address, the "host" is user: which one of the following word processing features saves you the most time whe
    8·1 answer
  • Write any four difference between email and effects​
    14·1 answer
  • WILL GIVE BRAINLIEST!!!!!!!
    14·1 answer
  • Website managers use____ every day.
    10·2 answers
  • Which game would you play info you were competitive?
    13·2 answers
  • are you in active recovery from a substance use disorder (addiction)? active recovery is defined as being free from an alcohol o
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!