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]
3 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]3 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 carbon is not used as a semiconductor material​
dmitriy555 [2]
Carbon is not used as semiconductor it has 4 valence electrons in it valence shell but the energy gap is very small it will conduct electricity even at room temperature ,the size of carbon is very small .
8 0
3 years ago
. Chemical manufacturers must present which Information on the product's label?
STatiana [176]

Answer: A) Product identifier

Explanation:

A product identifier is a means, name or number used to identify hazardous and dangerous chemicals on a label or in the SDS( safety data sheet). It provides a special means which helps the user to identify the chemical. Any product identifier used should permit a cross-references to be made among the listed hazardous chemicals required in the written hazard communication program, and the label including SDS(safety data sheet).

5 0
3 years ago
Alfamebimizde kaç harf var?<br>​
fredd [130]

Answer:

hi

Explanation:

The modern English alphabet is a Latin alphabet consisting of 26 letters, each having an upper- and lower-case form. It originated around the 7th century from Latin script. Since then, letters have been added or removed to give the current Modern English alphabet of 26 letters with no diacritics, diagraphs, and special characters. The word alphabet is a compound of the first two letters of the Greek alphabet, alpha and beta.

Have a nice day

8 0
2 years ago
What precautions should be taken to avoid the overloading of domestic electric circuits.
madam [21]

The precautions that should be taken to avoid the overloading of domestic electric circuits are:

  1. Do not put high voltage wires in one socket.
  2. Do not use many electric appliances of high power at the same time.
<h3>What are electric circuits?</h3>

Electric circuits are wires or devices that give electricity to devices that run on electricity. Running of electric devices should be done carefully because our body can come in contact with the current.

Thus, the precautions are to keep high voltage lines away from one socket. Use only a few high-power electric appliances at once.

To learn more about electric circuits, refer to the below link:

brainly.com/question/28221759

#SPJ4

4 0
2 years ago
Explain the difference between statically determinate beam and statically in determinate beam with sketch.
riadik2000 [5.3K]

Answer

Statically determinate beams are those beams in which the unknown reaction forces are equal or less than the equilibrium equation.

As shown in figure 1 in which reaction forces are 3 and we have 3 equilibrium equation so beam is determinate.

Statically indeterminate beams are those beams in which unknown reaction force are more than the  equilibrium equation.

As shown in figure 2 in which reaction forces are 6 and we have 3 equilibrium equation so beam is indeterminate.

5 0
3 years ago
Other questions:
  • If a car sits out in the sun every day for a long time can light from the sun damage the car paint
    10·2 answers
  • It is said that Archimedes discovered his principle during a bath while thinking about how he could determine if KingHiero‘s cro
    15·1 answer
  • What steps would you take to design an improved toothpaste container?
    12·1 answer
  • A good rule of thumb in hazardous conditions is to _____.
    8·2 answers
  • -0-1"<br> -0<br> -20<br> -15<br> -10<br> 0<br> -5
    9·1 answer
  • A. Derive linear density expressions for BCC [110] and [111] directions in terms of the atomic radius R.
    7·1 answer
  • Which of the following units of measurement is denoted by a single apostrophe mark (')?
    6·1 answer
  • The annual average of solar photovoltaic energy in Phoenix is 6,720
    8·1 answer
  • Question
    8·1 answer
  • Coving is a curved edge between a floor and a wall.<br> O True<br> O False
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!