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.

Answers

Answer 1
#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:).
Write A Program That Computes The Square Footage Of A House Given The Dimensions Of Each Room.Have The

Related Questions

HELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HELPHELP HEL

Answers

Answer:

oh this happened with me to ,this will be alright just wait a bit

What is the first step in the decision-making process?

Answers

Answer: identify your decision. relize you need to make a decision.

Explanation:

Text wrapping in Sheets means the text will be on more than 1 line within the cell.

Answers

Answer:

True

Explanation:

Had it on my quiz

Text wrapping in spreadsheets simply means the text will be on more than one (1) line within the cell.

What is a spreadsheet?

A spreadsheet can be defined as a file (document) which comprises cells arranged in a tabulated format (rows and columns) and it is typically used for formatting, arranging, analyzing, storing, calculating and sorting data on computer systems.

In Computer science, when a text in spreadsheets is formatted through text wrapping, the text will appear on more than one (1) line within the cell.

Read more on spreadsheets here: https://brainly.com/question/4965119

An unknown relative passes away and bequeaths upon you a small tract of land in Amherst. You decide to build a two-story storage facility to make the best of your bequest. But your self-storage dream is in jeopardy due to a 10 meter thick layer of soft clay (N<4) on the site. You put on your best geotechnical engineer hat, hire a driller to pull up some samples, and send them off to a lab for a consolidation test. The report indicates that the clay is a dark grey, slightly sweet, kaolinite blend with a cy = 1x10-7 mº/s, single-drained, and an ultimate settlement of 0.73 meters. It does not make financial sense to install deep foundations, so you are interested in how long it will take to consolidate the clay layer using a passive load.
How long will it take for settlements of 25, 50, and 65 cm to occur?
If you need to build within the next 12 months and have at least 65cm of settlement to be viable, does it make sense to proceed?

Answers

Answer: It does make sense, because I've been involved in these careers and have a long family line of them. And other questions?

Explanation:

Explain the conditions under which galvanic corrosion occurs

Answers

Answer:

Explanation:

Galvanic corrosion occurs when two dissimilar metals are immersed in a conductive solution and are electrically connected. One metal (the cathode) is protected, whilst the other (the anode) is corroded. The rate of attack on the anode is accelerated, compared to the rate when the metal is uncoupled.

If you had to pick a priority for future engineers, what would it be and why?

Answers

Answer:

Explanation:

Civil engineers have become experts in creating sustainable and environmentally friendly buildings and systems. Multiplied over many communities, the energy and emissions savings can make a real difference in the environment. Other life-improving functions can also make communities better places to live.Jul 19, 2017

A tank with a volume of 40 cuft is filled with a carbon dioxide and air mixture. The pressure within the tank is 30 psia at 70oF. It is known that 2 lb of carbon dioxide was placed in the tank. Assume that air is 80% nitrogen and 20% oxygen and use the ideal gas laws. Calculate ,

Answers

The correct responses are;

(i) Weight percent of nitrogen: 58.6%

Weight percent of oxygen: 14.65%

Weight percent of carbon dioxide: 29.59%

(ii) Volume percent of nitrogen: 64.38%

Weight percent of oxygen: 14.1%

Weight percent of carbon dioxide: 21.53%

(iii) Partial pressure of nitrogen: 19.314 psia

Partial pressure of oxygen: 4.23 psia

Partial pressure of carbon dioxide: 6.459 psia

(iv) Partial pressure of nitrogen: 19.314 psia

Partial pressure of oxygen: 4.23 psia

Partial pressure of carbon dioxide: 6.459 psia

(v) The average molecular weight is approximately 32.02 g/mole

(vi) At 20 psia, 60 °F, the density is 0.11275 lb/ft.³

At 14.7 psia, 60 °F, the density is 0.0844 lb/ft.³

At 14.7 psia, 32 °F, the density is 0.0892 lb/ft.³

(vii) The specific gravity of the mixture 0.169

Reasons:

The volume of the tank = 40 ft.³ = 1.132675 m³

Content of the tank = Carbon dioxide and air

The pressure inside the tank = 30 psia = 206843 Pa

The temperature of the tank = 70 °F ≈ 294.2611 K

Mass of carbon dioxide placed in the tank = 2 lb.

Percent of nitrogen in the tank = 80%

Percent of oxygen in the tank = 20%

(i) 2 lb ≈ 907.1847 g

Molar mass of carbon dioxide = 44.01 g/mol

Number of moles of carbon dioxide = [tex]\displaystyle \mathbf{ \frac{907.1847 \, g}{44.01 \, g/mol}} \approx 20.613 \, moles[/tex]

Assuming the gas is an ideal gas, we have;

[tex]\displaystyle n = \mathbf{\frac{206843\times 1.132674}{8.314 \times 294.2611} }\approx 95.7588[/tex]

The number of moles of nitrogen and oxygen = 95.7588 - 20.613 = 75.1458

Let x represent the mass of air in the mixture, we have;

[tex]\displaystyle \mathbf{ \frac{0.8 \cdot x}{28.014} + \frac{0.2 \cdot x}{32}}= 75.1458[/tex]

Solving gives;

x ≈ 2158.92 grams

Mass of the mixture = 2158.92 g + 907.1847 g ≈ 3066.1047 g

[tex]\displaystyle Weight \ percent \ of \ nitrogen= \frac{0.8 \times 2158.92}{3066.105} \times 100 \approx \underline{58.6 \%}[/tex]

[tex]\displaystyle Weight \ percent \ of \ oxygen = \frac{0.8 \times 2158.92}{3066.105} \times 100 \approx \underline{14.65\%}[/tex]

[tex]\displaystyle Weight \ percent \ of \ carbon \ dioxide = \frac{907.184}{3066.105} \times 100 \approx \underline{29.59\%}[/tex]

ii.

[tex]\displaystyle Number \ of \ moles \ nitrogen= \frac{0.8 \times 2158.92 \, g}{28.014 \, g/mol} \approx 61.65\, moles[/tex]

[tex]\displaystyle Number \ of \ moles \ oxygen= \frac{0.2 \times 2158.92 \, g}{32 \, g/mol} \approx 13.5\, moles[/tex]

Number of moles of carbon dioxide = 20.613 moles

Sum = 61.65 moles + 13.5 moles + 20.613 moles ≈ 95.763 moles

In an ideal gas, the volume is equal to the mole fraction

[tex]\displaystyle Volume \ percent \ of \ nitrogen= \frac{61.65}{95.763} \times 100 \approx \underline{64.38 \%}[/tex]

[tex]\displaystyle Volume \ percent \ of \ oxygen = \frac{13.5}{95.763} \times 100 \approx \underline{14.1\%}[/tex]

[tex]\displaystyle Volume \ percent \ of \ carbon \ dioxide = \frac{20.613 }{95.763} \times 100 \approx \underline{21.53\%}[/tex]

(iv) The partial pressure of a gas in a mixture, [tex]P_A = \mathbf{X_A \cdot P_{total}}[/tex]

Partial pressure of nitrogen, [tex]P_{N_2}[/tex] = 0.6438 × 30 psia ≈ 19.314 psia

Partial pressure of oxygen, [tex]P_{O_2}[/tex] = 0.141 × 30 psia ≈ 4.23 psia

Partial pressure of carbon dioxide, [tex]P_{CO_2}[/tex] = 0.2153 × 30 psia ≈ 6.459 psia

(v) The average molecular weight is given as follows;

[tex]\displaystyle Average \ molecular \ weight = \frac{3066.105\, g}{95.7588 \, moles} = 32.02 \, g/mole[/tex]

(vi) At 20 psia 70 °F, we have;

Converting to SI units, we have;

[tex]\displaystyle n = \frac{137895.1456\times 1.132674}{8.314 \times 294.2611} \approx 63.84[/tex]

The number of moles, n ≈ 63.84 moles

The mass = 63.84 moles × 32.02 g/mol  ≈ 2044.16 grams ≈ 4.51 lb

[tex]\displaystyle Density = \frac{4.51\ lb}{40 \ ft.^3} \approx \underline{0.11275\, lb/ft.^3}[/tex]

When the pressure is 14.7 psia = 101352.93 Pa, and 60 °F

[tex]\displaystyle n = \frac{101352.9\times 1.132674}{8.314 \times 288.7056} \approx 42.8247[/tex]

The mass = 47.8247 moles × 32.02 g/mol  ≈ 1531.35 grams = 3.376 lb.

[tex]\displaystyle Density = \frac{3.376 \ lb}{40 \ ft.^3} \approx \underline{ 0.0844\, lb/ft.^3}[/tex]

When the pressure is 14.7 psia = 101352.93 and 32 °F

[tex]\displaystyle n = \frac{101352.9\times 1.132674}{8.314 \times 273.15} \approx 50.5482[/tex]

The mass = 50.5482 moles × 32.02 g/mol  ≈ 1618.55 grams = 3.568 lb.

[tex]\displaystyle Density = \frac{3.568 \ lb}{40 \ ft.^3} \approx \underline{ 0.0892 \, lb/ft.^3}[/tex]

(vii) [tex]\displaystyle The \ specific \ gravity \ of \ the \ mixture \ = \frac{\frac{3066.1047\, g}{40 \, ft.^3} }{1.00} = \frac{\frac{6.7596 \, lbs}{40 \, ft.^3} }{1.00} \approx \underline{0.169}[/tex]

Learn more about partial pressure here:

https://brainly.com/question/19813237

Can anyone solve this for me?sequential circuit ,flipflop

Answers

Explanation:

We assume the T flip-flop changes state on the rising edge of the clock input.

The first stage is connected to the clock. The second stage clock is connected to the inverse of the Q output of the first stage, so that when the first stage Q makes a 1 to 0 transition, the second stage changes state.

When framing a building, a simple way to estimate the total amount of wall studs needed is to allow
for one for every foot of wall. If you are building a garage that is 17' x 52', how many studs are needed?

Answers

1+1=2
Solution
3:932(2)=61

How can we honor what we value and care about in a world of disruptive technologies like AI?

Answers

Answer: Well, that's a good question. When we look around us, we tend to see what technology has done for us, and how far it is taking us. It might be disruptive, but without it there would be no high tech military weapons, and then how would we defend ourselves? There would be no technology entertainment and without that, life would be very dull. In answering your question, we can be thankful for what it is and how far it has been taking us in life.

Explanation: Please mark a brainliest if correct it helps and have meery holidays!

The section 5(a)(1) of the osh act is commonly known as

Answers

Answer:

general duty clause

Explanation:

Describe two fundamental reasons why flexural strength should depend on porosity

Answers

Answer: The elastic modulus and flexural strength are found to decrease with increased porosity. Fractography studies have been undertaken to identify the role of the pores on the fracture path. The deflection and cracking behavior of concrete structure depend on the flexural tensile strength of concrete. Many factors have been shown to influence the flexural tensile strength of concrete, particularly the level of stress, size, age and confinement to concrete flexure member, etc.

Explanation:

A fully charged battery with 6 cells should indicate

Answers

Answer:

Battery Voltage

Voltage refers to the amount of electrical potential your battery holds. The standard automotive battery in today's vehicles is a 12-volt battery. Each battery has six cells, each with 2.1 volts at full charge. A car battery is considered fully charged at 12.6 volts or higher.

Font
Paragraph
Styles
Editing
(1) What are the available methods for crop establishments in the field?
(2) Give a conceptual sketch for a seeder to establish soybean seeds in an
agricultural field of dry zone in Sri Lanka (Use software where
necessary/or a hand sketch with detail).
(3) Discuss the advantages of the seed dibbling mechanism and list the
crops that can be used dibbler.
A
(4) Discuss the key points to enhance agricultural productivity using the
fertilizer applicators.
(5) Calculations: Calibration of a seed drill
Number of furrows = 5
Spacing between the furrows = 8 cm
Diameter of the ground wheel = 0.65 m
Number of rotations of the ground wheel = 300
Weight of seed collected = 20 kg
Calculate the seed rate in kg/ha
The average number of seeds dropped per one revelation =6
Calculate the
(1) seed rate and
(ii)
hole to hole spacing

Answers

Answer:

1) Therefore it was so much more than one answer my head

Help! Please explain also. Thank you

Answers

Answer:

17A) 52mm

17B) 132mm

17C) 67mm

18.) 34

Explanation:

For 17)

Each distance is determined by the total distances surrounding it. For example, 17A is 73mm - 21mm, which is 52mm.

For 18)

Set up the problem as an algebraic expression:

a + b + c + d = 115

Since you know 3 of the values, you can plug them in and subtract them from 115, which turns into 34.

Describe the first case where the power of synthesis was used to solve design problems.

Answers

The first case where the power of synthesis was applied was in Chile when they had to put 100 families in houses around 40m².

It should be noted that the power of architecture is the fact that it can synthesize a complex entry to a problem.

Chilean architect Alejandro used this in building more than several houses for the poorest communities in Chile. His rigorous and innovative design approach used a social framework that laid a precedent within the profession.

During this period in Chile, a normal middle-class home was about 80m² but he built his in 40m² and it was a good home that managed the resources that were available.

Learn more about synthesis on:

https://brainly.com/question/884041

What are minerals made of?
NO LINKS PLEASE
A. Different substances
B. Liquid substances
C. Two or more substances
D. The same substance throughout

Answers

Answer:

the answer I know is A. different substances. hope this helps :).

Explanation:

just always study hard and God bless.

What effect did the Ice Age have on early humans

Answers

Answer:

The development of homosapiens

Explanation:

People adapted to the harsh weather by creating tools and used land bridges to spread to new regions

4. What is the ampacity of 8-gage copper wire?
O A. 45 amps
OB. 30 amps
O C. 50 amps
O D. 25 amps

Answers

The Answer is C 50 amps

12. How will the temperature change in a room with an open refrigerator door, once equilibrium is established

Answers

Answer:

then back into the room

Explanation:

If you leave the door open, heat is merely recycled from the room into the refrigerator, then back into the room. A net room temperature increase would result from the heat of the motor that would be constantly running to move energy around in a circle.

Rocks in mountains can be weathered by breaking them apart. How can they be eroded?

A. Pieces of rocks are moved by the deep roots of plants.
B. Pieces of rocks are moved by water and gravity.
C. Rocks expand by the temperature changes in the mountains.
D. Rocks are smoothed by the flowing water and ice.

NO LINKS PLEASE!

Answers

Answer: If you look up its definition of eroded it'll tell you the answer should be B

Explanation:

All of the following are employment requirements for a technician EXCEPT:
Select one:
a. Being drug and alcohol free
b. Having all of your ASE certifications
c. Having a clean driving record
O d. Having honesty, integrity, reliability, and quality

Answers

Answer:

I think it would be C but im not sure sorry if its wrong

10. Which is of the following is not used in the
testing/analysis step?
A. Engineering notebooks.
B. Multiview drawings.
C. 3-D modeling software.
D. CNC machines.

Answers

A CNC machine stands for Computer Numerically Controlled Machine, they are used to Machine objects in hence create items, machine parts from prototypes. Hence the CNC machines are not used for testing/Analysis

D. CNC machines.

In Engineering the following items are basically needed for and during test/Analysis

Engineering notebooks: This is used to write down importance observations and findingsMulti-view drawings: This is also needed to visualise prototypes from different perspective or views3-D modelling software: e.g AutoCad , Autodesk Inventor, Revit to mention a few can be used to design and analyse project even before their actual implementation or design

Learn more:

https://brainly.com/question/9275741

how many times greater is the value of the 2 of the 270413 than the valuce of the 2 in 419427?

Answers

The value of 2 in 270,413 is 10,000x greater than the value of 2 in 419,427.
Step-by-step explanation:
The value of 2 in 270,413 is 200,000.
The value of 2 in 419,427 is 20
Divide the two numbers together to find your answer:
200,000/20 = 10,000
The value of 2 in 270,413 is 10,000x greater than the value of 2 in 419,427.

Please mark it as brainlest answer:).

Chemical engineers determine how to transport chemicals.
O True
False

Answers

Answer:

Chemical Engineers determine how to transport chemicals:

TRUE

Answer:

Explanation:

Trues

A person has driven a car 180 m in 40 seconds. What is the car’s speed?

Answers

Answer:

  4.5 m/s = 16.2 km/h

Explanation:

The speed is the ratio of distance to time:

  speed = (180 m)/(40 s) = 4.5 m/s

Which of the following is a measurement at the nominal level?

A-personal income in a year

B-student grades

C-the color of a person's hair (blond, brunette, redhead)

D-temperature

Answers

Answer:

A-personal income in a year this is the answer

Thank you,Thank you udahfsdf

Answers

Answer: Um, a little feedback would help, cause I'm new but if you are thanking someone, let me know and i'll thank them for you, any other questions?

Explanation:

Question 2 Given the following gas Volume (%) Component Methane 58.7 Ethane 16.5 9.9 Propane Butanes 5.0 Pentanes 3.5 Hydrogen Suflide 6.4 100 Total I Calculate: 1. Average molecular weight 1. Density at 320F and 14.7 psia ni. Density at OoC and 760 mm mercury iv. Specific gravity and gross and net heating value​

Answers

Answer

I think 51.96 I hope it's help

The feedback looping system in a three-way catalytic converter serves to adjust

Answers

I can say it oxidizes gas pollutants such as hydrocarbons and carbon monoxide. It also reduces nitrogen oxides into water, hydrogen, and carbon dioxide.

Other Questions
Find -3(-1.25)HELP PLEASE COULDN'T SCREENSHOT THE ORIGINAL QUESTION Determine which of the lines if any are parallel or perpendicular When you recite the pledge of Allegiance, you are promising to uphold American ideals and values- liberty, justice and equal rights for all. Explain how these ideals and values are reflected in your everyday life. Mr. Capp runs his own disc golf store every Saturday. The first customer of the day came in and bought1 driver and 2 putters for $43. The second customer came in and bought 3 drivers and 1 putter for $69.How much money does one driver and one putter cost at Mr. C's store? How many job openings are projected for Substance Abuse and Behavioral Disorder Counselors across the United States between 2019-2029?A. 15,900B. 39,400C. 2,2914. 319,400 Use the drawing tools to form the correct answer on the graph.Graph this function.f(x) = (1/3)x + 8 You and your lab group have been asked to design an investigation to determine the effects of heat transfer between two different objects. Which of the following investigation designs explains the heat transfer when atoms directly touch?. How body responds when the body temperature increases what is .072 divided by 345.00 What happens to mRNA after transcription ?A- It is transported to a mitochondrion for respirationB- It exits the cell through the plasma membraneC-It remains in the nucleus to begin translationD-It enters the cytoplasm and goes to a ribosome today everything at a store is on sale the store offers a 20% discount the discount price of a hat is $18 what is the regular price 12 ptsQuestion 3Which of the following statements about the Puritans is not true?A. Puritans were a group of strict Calvinists.B. Puritans wanted to rid the English church of practices they thought were too CatholicC. Puritans wanted to take power away from church officialsD. The Puritans enjoyed the support of James I, who also wanted to take power from the church. Three cards are dealt from a shuffled standard deck of playing cards. Find the probability that the first card dealt is red, the second is black, and the third is red. (Enter your probability as a fraction.) Pls po pahelpp ..... Kahit po paturo lng pra po matapos ko po PLS ANSWER AND I WILL MARK AS BRAINLIST PLEASE HELP WORTH 100 points!! What time is it in your country?mine is: 9:57 AM Can someone help me with this please? why did southern planters and merchants oppose reconstruction and the new state governments? Simply:3 (2x - 2) -2 (x - 2)A: 3x -3 B: 3x -4C: 4x -2D: 4x -4