A company sells custom rectangular canvases. They will create the canvases for you. You only need...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
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 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
Expert Answer:
Answer rating: 100% (QA)
Heres a Python program that fulfills the requirements for calculating the cost of custom rectangular ... View the full answer
Related Book For
Financial Reporting Financial Statement Analysis and Valuation a strategic perspective
ISBN: 978-1337614689
9th edition
Authors: James M. Wahlen, Stephen P. Baginski, Mark Bradshaw
Posted Date:
Students also viewed these programming questions
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
The Assembly Department of Interface, Inc., manufacturer of computers, had 4500 units of beginning inventory in September, and 8000 units wore transferred to it from the Production Department. The...
-
Nature of Liabilities Presented below is the current liabilities section of Micro Corporation. Answer the following questions. (a) What are the essential characteristics that make an item a...
-
Securities traded in active financial markets are liquid assets. Explain why liquidity is important to individual investors and to mutual funds.
-
Given the following information, prepare a statement of cash flows. Increase in accounts receivable $25 Increase in inventories Operating income Interest expense 30 75 12 25 Increase in accounts...
-
Beth Dale is the Director of Development for a nonprofit organization that depends largely on charitable gifts for its operations. Beth needs to assign four different staff people to make trips to...
-
6. 7. 8. 9. You are given a converging lens with equal radii of curvature and a diverging lens with the same radii of curvature as those of the converging lens. The lenses are made of material with n...
-
Part 2: Presentation and Data Work (90 marks) You have been asked to collect company data and to create a final written presentation based on your analysis of the data and the performance measures...
-
At the beginning of the current period, Novak Ltd. had balances in Accounts Receivable of 299,000 and in Allowance for Doubtful Accounts of 9,500 (credit). During the period, it had net credit sales...
-
The triple bottom line of organizational performance focuses on the 3 Ps of profit, people, and ____________. (a) principle (b) procedure (c) planet (d) progress
-
Olivia is being audited by the IRS. The revenue agent determines that certain expenses that were deducted on her return are not valid, and he accordingly makes adjustments to her tax liability. Upon...
-
Roy Rainer will pay his wife, Mae, alimony according to the following schedule: Roy and Mae were divorced on January 6, 2019. For the first three years of the agreement, what portions are excludable...
-
LCD Corporation purchased residential real property for $385,000 (exclusive of land cost) and placed it in service on August 16, 2019. Compute MACRS depreciation on the property for 2019 and 2020.
-
Define the term travel expenses as used for tax purposes. Define the term away from home as interpreted by the IRS.
-
a) Calculate the relative frequency h (N) of getting head as function of the random trials N-10,100,1000, and 10000 b) Plot the relative frequency of getting head as function of 'N for the for values...
-
You are a U.S. investor who purchased British securities for 2,000 one year ago when the British pound cost U.S. $1.50. What is your total return (based on U.S. dollars) if the value of the...
-
Select data for Avis and Hertz for 2012 follow. Based only on this information and ratios that you construct, speculate on similarities and differences in the operations and financing decisions of...
-
Morrissey Tool Company manufactures machine tools for other manufacturing firms. The firm is wholly owned by Kelsey Morrissey. The firms accountant developed the following long-term forecasts of net...
-
Combined data for three years for two firms appear below (in millions). One of these firms is Amazon.com, a rapidly growing internet retailer, and the other is Kroger, a retail grocery store chain...
-
Why is the analyzing step of the process crucial to the success of a MedImmune proposal? In the discussion, draw students attention to the intersection of medical, legal, and social issues. Why is...
-
How does the Clinical Trial Application guide described in the example make the composing process for a new document easier? How is it informed by the evaluation process? What metaphors or analogies...
-
What are the advantages and disadvantages of the following other options: making an announcement on the companys internal website, sending a memo to each employee, sending an email to each employee,...
Study smarter with the SolutionInn App