Mohammed and John opened a business that specializes inshipping liquids suh as milk, juice and water...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Mohammed and John opened a business that specializes inshipping liquids suh as milk, juice and water in cylindrical containers. The shipping charges depends on the amount of the liquid in the container (we assume that every container is filled to the top). They also provide the option to paint the outside of the container for a reasonable amount. Write a program that does the following: 1. Prompts the user to input the dimensions (in feet) of the container which are the radius of the base and the height 2. 3. Prompts the user to input the shipping cost per liter Prompts the user to input the paint cost per square foot.(Assume that the entire container including the top and bottom needs to be painted) 4. Outputs the shipping cost and the cost of painting. Your program must use Class Cylinder developed earlier in the above question to store the radius of the base and the height of the container. (Note that 1 cubic feet-28.32 liters) Mohammed and John opened a business that specializes inshipping liquids suh as milk, juice and water in cylindrical containers. The shipping charges depends on the amount of the liquid in the container (we assume that every container is filled to the top). They also provide the option to paint the outside of the container for a reasonable amount. Write a program that does the following: 1. Prompts the user to input the dimensions (in feet) of the container which are the radius of the base and the height 2. 3. Prompts the user to input the shipping cost per liter Prompts the user to input the paint cost per square foot.(Assume that the entire container including the top and bottom needs to be painted) 4. Outputs the shipping cost and the cost of painting. Your program must use Class Cylinder developed earlier in the above question to store the radius of the base and the height of the container. (Note that 1 cubic feet-28.32 liters)
Expert Answer:
Answer rating: 100% (QA)
that does the following Sol We have to write the program Prompts the user to input the dimensions in ... View the full answer
Related Book For
An Introduction to Statistical Methods and Data Analysis
ISBN: 978-1305269477
7th edition
Authors: R. Lyman Ott, Micheal T. Longnecker
Posted Date:
Students also viewed these accounting questions
-
The hopper is filled to its top with coal. Determine the volume of coal if the voids (air space) are a fraction p of the volume of the hopper. Given: a = 1.5 m b = 4 m c = 1.2 m d = 0.2 m p = 0.35 (...
-
Suppose you run a business that specializes in producing graphic T-shirts, using labor as an input. Based on Table 16P-2, graph the labor supply and demand curves and identify the market equilibrium...
-
Suppose you run a business that specializes in producing graphic T-shirts, using labor as an input. Based on Table 16P-2, graph the labor supply and demand curves and identify the market equilibrium...
-
Player A has a $1 bill and a $20 bill, and player B has a $5 bill and a $10 bill. Each player will select a bill from the other player without knowing what bill the other player selected. If the...
-
Latham Corporation constructs a new factory building. The materials cost $300,000. Other costs include direct labor of $150,000, worker pension costs of $5,000, architectural fees of $15,000, and...
-
Macinski Leasing leases a new machine to Sharrer SA. The machine has a cost of 70,000 and fair value of 95,000. Under the 3-year, non- cancelable contract, Sharrer will receive title to the machine...
-
Which interest rate on a bond determines the amount of the semiannual interest payment? a. Market rate b. Effective rate c. Stated rate d. Semiannual rate
-
Firms A and B are roughly the same size, but operate in different industries. Firm A bases a high proportion of its executive compensation on net income and a relatively low pro-portion on share...
-
Explain the 'accounting theory framework' and why it is important in the practice of accounting standard board (15marks)
-
On November 3, 20X2, PRD Corporation acquired 2 JRS Company bonds ($1,000 face value) at a cost of 105. PRD classifies them as available-for-sale securities. On this same date, PRD decides to hedge...
-
On February 1, 20X1, Hills Company had 10,000 pounds of inventory costing $1.50 per pound; the market value per pound was $1.95 on this date. Hills entered into a futures contract to sell the 10,000...
-
Apex Consignment sells items over the internet for individuals on a consignment basis. Apex receives the items from the owner, lists them for sale on the internet, and receives a 25 percent...
-
The first step in cash flow statement analysis should be to: A. evaluate consistency of cash flows. B. determine operating cash flow drivers. C. identify the major sources and uses of cash.
-
The item retained earnings is a component of: A. assets. B. liabilities. C. shareholders equity.
-
During 2009, Accent Toys Plc., which began business in October of that year, purchased 10,000 units of a toy at a cost of 10 per unit in October. Th e toy sold well in October. In anticipation of...
-
Which of the following is an appropriate method of computing free cash flow to the firm? A. Add operating cash flows to capital expenditures and deduct after-tax interest payments. B. Add operating...
-
Which color of the hydrogen is most promising for achieving net zero emissions in Oman by 2050? Justify your decision with evidences and associated constraints
-
The trade-off theory relies on the threat of financial distress. But why should a public corporation ever have to land in financial distress? According to the theory, the firm should operate at the...
-
The population distribution in the United States based on race/ethnicity and blood type as reported by the American Red Cross is given here. a. A volunteer blood donor walks into a Red Cross blood...
-
Refer to Exercise 11.70. a. The researcher consulted with a statistician, and a transformation of the data was suggested. Plot the square root of CUMVOL versus the logarithm of dose in a scatterplot....
-
A random sample of eight pairs of twins were randomly assigned to treatment A or treatment B. The data are given in the following table. a. Is there significant evidence that the two treatments...
-
Suggest a general outline marketing planning strategy for 12 months ahead for Graham Keddie.
-
What part should the sales function play when drawing up a detailed 12 months operational marketing plan for EMA?
-
Explain the differences between marketing strategies and sales strategies.
Study smarter with the SolutionInn App