Prompts the user to enter the widths and heights in feet of


Write a program that computes the cost of painting and installing carpet in a room. Assume that the room has one door, two windows, and one bookshelf. Your program must do the following:

a. Prompts the user to enter, in feet, the length, width, and height of a room. Read the dimensions of the room.

b. Prompts the user to enter the widths and heights, in feet, of the door, each window, and the bookshelf. Read these quantities.

c. Prompts the user to enter the cost, per square foot, of painting the walls. Read these quantities.

d. Prompts the user to enter of cost, per square foot, of installing carpet. Read these quantities.

e. Outputs the cost of painting the walls and installing the carpet.

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: Prompts the user to enter the widths and heights in feet of
Reference No:- TGS02193099

Expected delivery within 24 Hours