Question: A company sells custom rectangular canvases. They will create the canvases for you. You only need to tell them the dimensions of the canvases.

A company sells custom rectangular canvases. They will create the canvases for you. You only need to tell

A company sells custom rectangular canvases. They will create the canvases for you. You only need to tell them the dimensions of the canvases. They charge $4.99 per square foot and require a minimum order of 20 square feet. You will write a program that asks the user to enter the number of canvases, and the dimensions of each canvas. Program 2 Requirements: The program must prompt the user for the number of canvases and set the price per square foot to 4.99. The program will use a counting loop to loop for the number of canvases. The loop body will: . . o Prompt the user for the length and width of each canvas Multiply the length and width to get the canvas size in square feet. . Accumulate total square footage for all the canvases . Once the loop is complete, ensure that at least 20 square feet are being purchased otherwise display an error. . Final price for valid orders will be calculated by multiplying the total square footage by the price per square foot. . O . Display the price per square foot, total square footage, and final price. Displayed values that represent dollar amounts must be formatted as currency, including a dollar sign and 2 decimal places

Step by Step Solution

3.43 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Heres a Python program that fulfills the requirements for calculating the cost of custom rectangular ... View full answer

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 Programming Questions!