Question: Problem 3 : ( Use a sequential structure and a decision structure ) A room needs to be painted that has four walls. The room

Problem 3: (Use a sequential structure and a decision structure)
A room needs to be painted that has four walls. The room is rectangular in shape. All four walls are the same height. Two of the walls on the opposite side of each other have the same length. The other two walls on the opposite side of each other have the same width. Paint is purchased based on the amount of square footage that needs to be painted. Assume the room has a standard flat ceiling (no angles nor cathedral ceiling). Input the height, length, and width measurements in feet. Calculate and output each of the following:
a. The square feet of walls need to be painted
b. The square feet of ceiling needs to be painted
After calculating the walls square footage and the ceiling square footage, determine which of the two square footages is larger and display which of the two is the larger square footage with an appropriate message stating which one is the larger square footage.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!