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

  Identify a software tool to aid agile software development

Identify a single software tool to aid Agile Software Development. What makes pair programming more effective than two programmers?

  Write pseudo code - program and draw flow chart

Write pseudo code, program and draw flow chart for programs

  Find total annual compensation policy to improve sales

The source code should demonstrate the use of conditional and looping structures.find total annual compensation policy to improve sales

  Implement the tree-based union-find partition data structure

Implement the tree-based union/find partition data structure with both the union-by-size and path-compression heuristics.

  Are file descriptors of a parent inherited by child process

Is it allowed for a parent to terminate before one of its child processes has terminated? If so, does this affect the child processes in any way?

  In around 300 words describe how bibliofind might have used

bibliofind was one of the first web sites to specialize in hard-to-find and collectible books. the site featured a

  Write labview that will read in the force-vs-emg-data file

Write and submit a LabVIEW VI that will read in the Force_vs_EMG_Data file, either the .lvm or the excel file.

  Write your program so that the message can be changed

Write your program so that the message can be changed quickly. The TA will ask you to display a new message during the demo.

  Design a program which asks for the number of fat grams and

design a program that asks for the number of fat grams and calories in a food item. validate the input as follows- make

  Compute the statistics requested

The data must be stored in an array. Compute the statistics requested above. Use a function for each task as well as a function to read.

  Write an algorithm and program to compute e

Write an algorithm and program to compute e and compute the square root (v). The calculation of the important mathematical constant e and the square root.

  Compute the variance of the prediction error

Encode this sequence using a DPCM system with a one-tap predictor with predictor coefficient 0.9 and a three-level Gaussian quantizer. Compute the variance of the prediction error.

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