Prompts the user to input the shipping cost per liter

Assignment Help Computer Engineering
Reference no: EM132137143

I am struggling with this programmign exersice and would love to get some insight. any help would be greatly appreciated.

Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylinderical containers.

The shipping charges depend on the amount of the liquid in the container. (For simplicity, you may assume that the 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:

a. Prompts the user to input the dimensions (in feet) of the container (radius of the base and the height).

b. Prompts the user to input the shipping cost per liter.

c. 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.)

d. Separately outputs the shipping cost and the cost of painting.

Reference no: EM132137143

Questions Cloud

Develop your own string class : Develop and work with a C++ class, define constructors and destructors, define member functions outside .
Which of the following statements will display a string : Which of the following statements will display a string as "Jones, Jane" (the last name, a comma, a space, and the first name) in the lblFullName control?
Write a method with an input variable : Write a method with an input variable (string type). The method should return the number of uppercase letters of the input variable.
Write a query that satisfies the given requirements : Write a query that satisfies the given requirements by making sure to use GROUP BY and HAVING clauses.
Prompts the user to input the shipping cost per liter : Amanda and Tyler opened a business that specializes in shipping liquids, such as milk, juice, and water, in cylinderical containers.
What is the present value of a 3-year annuity : What is the present value of a 3-year annuity of $170 if the discount rate is 5%? (Do not round intermediate calculations. Round your answer to 2 decimal places
What is the expected return on portfolio : What is the expected return on this portfolio? What is the beta of this portfolio? Does this portfolio have more or less systematic risk than an average asset?
Give an algorithm about to define the polynomial time : Give an algorithm that, given strings A, B, and C, decides whether C is an interleaving of A and B in polynomial time. Prove your answer correct.
What is the current yield on pk bonds : What is the current yield on PK's bonds? (Do not round intermediate calculations and enter your answer as a percent rounded to 2 decimal places, e.g., 32.16.)

Reviews

Write a Review

Computer Engineering Questions & Answers

  Create a subdirectory backup

Create a copy of the file in the same directory using any name you like. Create a subdirectory "backup".

  Compare the isochronous to other connections

How does the isochronous connection compare to the asynchronous and synchronous connections? Compare the applications and efficiencies of all three.

  Make draft or a excel spreadsheet of java vs. c++

want a draft or a excel spreadsheet of Java vs. C++ and its comparisons. I want bold statements and strong related bold information.

  Implement the process method by introducing an echo

Your task is to implement the process method by introducing an echo. For each sound value, add the value from 0.2 seconds ago.

  Find the original sequence

A sequence is encoded using the Burrows-Wheeler transform. Given L = elbkkee, and index = 5 (we start counting from 1, not 0), find the original sequence.

  Write an algorithm for driving from where you live

Write an algorithm for driving from where you live to the nearest airport that has regularly scheduled flights.

  Do encrypt the plaintext step by step

Take a Plain text of "Here you can encrypt a block of bytes with a key using the popular Advanced Encryption Standard cipher".

  Make a class executive inherit from manager

Make a class Executive inherit from Manager. Supply appropriate to String methods for all classes. Supply a test program that tests these classes and methods.

  Suppose poisson arrivals and departures at each router

A CPU in a router can process 2 million packets/sec. The load offered to it is 1.5 million packets/sec. If the route from source to destination contains 10 routers (having no additional traffic), how much time is spent being queued and serviced by..

  Define a list comprehension to generate are infinite list

A positive integer is perfect if it equals the sum of all of its factors, excluding the number itself. For example, 6, 28, 496, and so on.

  What messages are generated

CSI 1241/5134 Systems Analysis Assignment-Specifying business rules, For add vessel & modify visit elaborated use cases provided, create business rules diagrams

  What levels of access rights can exist for a file

What levels of access rights can exist for a file? Describe the levels of RAID. What are their comparative advantages and disadvantages?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd