Question: Program Assignment: Calculating Room Carpeting Costs Write a program that asks the user which room they want the estimate for, the dimensions of a room

 Program Assignment: Calculating Room Carpeting Costs Write a program that asks

Program Assignment: Calculating Room Carpeting Costs Write a program that asks the user which room they want the estimate for, the dimensions of a room in feet, and the cost of the carpet in square yards. The proger should then calculate the total cost for carpeting the room room length and width, room name input data room length room width variable name , data type input source-Error checking length width double doublekeyboard doublekeyboard must be positive must be positive must be positive keyboard arpet cost per yd costPer room name room strin keyboard calculated values area in ft area in yd total cost doublecalculated double calculated calculated area ft2 area yd2 total Output Description: Echo print the room dimensions, the cost per square yard and customer name. Print the area of the room and the total cost of the carpet. Example screen shot: Room: ttttttttext Room dimensions: xx ft by xx ft Carnet cost per sa. vard: S xx.xx

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!