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
A piston-cylinder apparatus has a piston of mass 2kg and diameterof
iragen [17]

Answer:

M =2.33 kg

Explanation:

given data:

mass of piston - 2kg

diameter of piston is 10 cm

height of water 30 cm

atmospheric pressure 101 kPa

water temperature = 50°C

Density of water at 50 degree celcius is 988kg/m^3

volume of cylinder is  V = A \times h

                                       = \pi r^2 \times h

                                       = \pi 0.05^2\times 0.3

mass of available in the given container is

M = V\times d

  = volume \times density

= \pi 0.05^2\times 0.3 \times 988

M =2.33 kg

6 0
4 years ago
How are speed and acceleration related
erica [24]
R = distance

dr/dt speed or with a direction, velocity

d(dr/dt)/dt = the time derivative of the velocity is called acceleration.

Speed is a scalar. Acceleration is a vector.
6 0
3 years ago
Read 2 more answers
A fixed mass of saturated water vapor at 400 kpa is isothermally cooled until it is a saturated liquid. Calculate the amount of
Kazeer [188]
This is the explanation

6 0
3 years ago
Guys i need help and some ones please help me
Dmitriy789 [7]

Answer:

4. A series of steps engineers use to solve problems.

Explanation:

The process of engineering design is a sequence of procedures that engineers pursue to arrive at a solution to a specific problem. Most times the solution includes creating a product such as a computer code, which fulfills certain conditions or performs a function. If the project in-hand includes designing, constructing, and testing it, then engineers probably adopt the design process. Steps of the process include defining the problem, doing background research,  specifying requirements, brainstorming solutions, etc.

4 0
3 years ago
Think of one example where someone would need to calculate the net force on a person at the waater park
ValentinkaMS [17]
Well Bob would need to calculate to net force of someone going down a water slide. Since the person is going down the slide, the person will go faster, depending on their mass/weight and the gravitational pull.
7 0
3 years ago
Other questions:
  • Argon is compressed in a polytropic process with n=1.2 from 120 kPa and 10 °C to 800 kPa in a piston cylinder device. Determine:
    11·1 answer
  • Serves as a protective barrier to prevent contact with engergized ("hot") parts<br> within the unit
    13·1 answer
  • Please Help It's really Important
    12·1 answer
  • The x component of velocity in an incompressible flow field is given by u = Ax, where A = 2 s-1 and the coordinates are measured
    10·1 answer
  • A(n) ____ is an exact representation of an object projected onto a plane from a specific position.
    14·1 answer
  • Technician A says when you push the horn button, electromagnetism moves an iron bar inside the horn, which opens and closes cont
    5·2 answers
  • 4. Long term marijuana use can cause
    12·2 answers
  • EverFi future smart pie chart
    11·1 answer
  • Which level of acceleration should you use when accelerating on a short highway entry ramp?
    11·1 answer
  • Not all projects that engineers work on will have human factors involved.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!