Question: C++ that will prompt the user to input the length and width of a room Write a program and calculate and display the area of
that will prompt the user to input the length and width of a room Write a program and calculate and display the area of that room. Screen sample (bold is user input) 4. Enter length of your room (in feet): 10 Enter width of your room (in feet): 12 Enter unit price of the carpet: 3.49 Enter unit price of baseboard: 2.79 You will need 120 square feet of carpet You will need 44 feet of baseboard Total cost of carpet will be: $418.80 Total cost of baseboard will be: $ 122.76 5. Write a program to create a customer's bill for a company. The company sells four different products: TV, DVD Player, Blu Ray Player and CD Player and the unit prices are $500.00, $230.00, $450.00 and $100.00 respectively. The program must read from the keyboard the quantity of each equipment purchased. It then calculates the cost of each item, the subtotal, and the total cost after an 8.75% sales tax. The input data consists of set of integers representing quantities of each item sold. The program must prompt for the user each quantity as shown below. The numbers in boldface italic show the user's answer. How many TVs were sold? How many DVD Players were sold? How many Blu Ray Players were sold? How many CS Players were sold? The format of the output from the program is shown below. QTY DESCRIPTION UNIT PRICE TOTAL PRICE xx TV xx DVD Player xx Blu Ray Player $450.00 xx CD Player $500.00 $230.00 $100.00 SUBTOTAL TAX TOTAL xxx.Xxx
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
