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
Verizon [17]
2 years ago
12

Write a program that computes the square footage of a house given the dimensions of each room.Have the program ask the user how

many rooms in the house and then request the dimensions of eachroom. Display the resulting total square footage.
Engineering
1 answer:
baherus [9]2 years ago
4 0
#include

int main () {

printf("Program to calculate the square footage of the house.\n");

int total_rooms;

double length, width;

double total_square_footage = 0.0;

printf("Enter total number of rooms in the house:");

scanf("%d", &total_rooms);

for (int i = 0; i
printf("Enter the lenght and width of room %d: ", i+1);

scanf("%if %if", &lenght, &width);

total_square_footage += lenght*width;

}

printf("Total square footage of the house: %if\n", total_square_footage);

return 0;

}


Please mark it as brainliest answer:).

You might be interested in
Why do engineers need to be particularly aware of the impact of hubris?
miv72 [106K]

Answer:

A) Their creations change society.

7 0
2 years ago
Which of the following is most useful for doing research?
Ghella [55]

Answer:

Web Browser

Explanation:

Because you dont use a messaging app or presentation software to look up stuff its common knowledge

7 0
2 years ago
All holly plants are dioecious—a male plant must be planted within 45 to 55 feet of the
mel-nik [20]

Answer:

The answer is 0.727

Explanation:

lemme know if that's right

8 0
2 years ago
Which of the following is NOT a provision of the Agricultural Adjustment Act? insurance for farmers alternative energy programs
Arisa [49]

Answer:

Farm equipment

Explanation:

Most people have heard claims that the US government pays farmers not to grow crops. The Agricultural Adjustment Act is the legislation that started this program. It was the first “Farm Bill.” The current farm bill provides for the following:

Subsidies for farmers

Insurance for farmers

Price supports

Food assistance for economically challenged Americans (the largest portion of the Farm Bill)

Forestry conservation programs

Alternative energy programs.

4 0
3 years ago
Which type of work is a textile engineer most likely to do?
pickupchik [31]

Answer:

B because as a textile engineer, your job is to help design and create fabric, including the equipment and materials needed for fabrication.

7 0
2 years ago
Other questions:
  • Inspection with considering a variable uses gages to determine if the product is good or bad. True or False?
    15·2 answers
  • A power of 100 kW (105 W) is delivered to the other side of a city by a pair of power lines, between which the voltage is 12,000
    9·1 answer
  • When you arrive at an intersection with a stop sign in your direction, if there is no marked stop
    14·2 answers
  • A water agency stated that waterlines cannot have water flowing faster than 8 ft/s. What is the minimum standard pipe diameter t
    12·1 answer
  • The average human heart Beats 1.15 times 10 to the power of 5 per day. There are 3.65 times 10 to the power of 2 days in one yea
    14·1 answer
  • 4. Two technicians are discussing the evaporative emission monitor. Technician A says that serious monitor faults cause a blinki
    14·1 answer
  • QUESTION:
    13·1 answer
  • What is equation for surface area?
    9·1 answer
  • "Transformer is used to change the voltage".
    5·1 answer
  • Flip-flops are normally used for all of the following applications, except ________. logic gates data storage frequency division
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!