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...
-
Consider the following network for conducting a two week (10 working days) computer training class: (a) Construct a schedule showing: ESs for all activities LSs for all activities Slacks for all...
-
A single epoxide was isolated in 79-84% yield in the following reaction. Was this epoxide A or B? Explain your reasoning. CH;COOH B.
-
Highland plc owns two subsidiaries acquired as follows: 1 July \(1991 \quad 80 \%\) of Aviemore Ltd for \( 5\) million when the book value of the net assets of Aviemore Ltd was \( 4\) million. 30...
-
Chambers Manufacturing Company produces blankets. From its accounting records, it prepares the following schedule and financial statements on a yearly basis. (a) Cost of goods manufactured schedule....
-
The monthly cost (in dollars) of water use is a linear function of the amount of water used (in hundreds of cubic feet, HCF). The cost for using 14 HCF of water is $35.62, and the cost for using 41...
-
1. Is Jones correct? That is, using the more complete data set, is it true that Jones has the lowest defect rate overall? Are Joness percentages correct overall (i.e., combining domestic and overseas...
-
10. Read The Closing Case On H&Amp;M (On The Textbook Chapter 17, Page 512), Then Answer The Following Questions:a. H&Amp;M Does Not Own Any Of The Factories That Produce Its Clothes. Instead, It...
-
Describe some techniques for gathering requirements to develop SQL queries. Provide an example using a business case.? Also, discuss some merits and demerits of the techniques you identify.? "In...
-
Beaver Inc. issues a 5,000,000 5-year, 8% fixed-rate interest note payable on December 31, 2022. Beaver Inc. is worried that interest rates may decrease which would increase the value of its debt so...
-
6. You are given a large bin of coins. You have prior belief that 80% are fair coins, but 20% come up heads 2/3 of the time. If you are given a coin at random and flip it 10 times, how many tails...
-
A young woman and her boyfriend plan to elope, but she must rescue him from his mother who has locked him in his room. The young woman has placed a 2 0 foot long ladder against his house and is...
-
You are a registered nurse (RN) in a medical-surgical unit. The safety committee has identified an increased number of medication errors when nurses are working 12-hour shifts. A recent study showed...
-
For each equation below determine if the function is Odd Even or Neither f x x 4x O Odd Even O Neither g x 4x x Odd O Even O Neither h x 4x O Odd O Even
-
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...
-
Starbucks Corporation has accused an employee and her husband of embezzling $3.7 million by billing the company for services from a fictitious consulting firm. The couple created a phony company...
-
Ecommerce is a word coined to describe business conducted over the Internet. Ecommerce is similar in some ways to traditional retailing, but it presents new challenges. Go to the website of...
-
In 2004, McDonalds reported that its sales in Europe exceeded its sales in the United States for the first time. This result, while reflective of the companys phenomenal success in Europe, was also...
Study smarter with the SolutionInn App