Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Semantics Of A Networked World Semantics For Grid Databases First International Ifip Conference Icsnw 2004 Paris France June 2004 Revised Selected Papers Lncs 3226

Authors: Mokrane Bouzeghoub ,Carole Goble ,Vipul Kashyap ,Stefano Spaccapietra

2004 Edition

3540236090, 978-3540236092

More Books

Students also viewed these Databases questions

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Discuss the Rights issue procedure in detail.

Answered: 1 week ago

Question

Explain the procedure for valuation of shares.

Answered: 1 week ago

Question

Which months of this year 5 Mondays ?

Answered: 1 week ago

Question

Define Leap year?

Answered: 1 week ago