Prompts the user to input the shipping cost per liter

Assignment Help C/C++ Programming
Reference no: EM13498633

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. Your program must use the class cylinderType (designed in Programming Exercise 3) to store the radius of the base and the height of the container. (Note that 1 cubic feet ¼ 28.32 liters or 1 liter ¼0.353146667 cubic feet.)

Reference no: EM13498633

Questions Cloud

Manipulate various types of accounts : Each of these accounts has various options. For example, you may have a savings account that requires no minimum balance but has a lower interest rate. Similarly, you may have a checking account that limits the number of checks you may write. Anot..
What is the magnitude of the force it will experience : A 10 microcoulomb charge is placed at the origin and a 20 microcoulomb charge is placed on the x-axis at x = 40 cm. what is the magnitude of the force it will experience
Explain the volume of pure hydrogen present in a sample : What's the volume of pure hydrogen present in a sample of 55.0 mL of gas saturated with water vapour at 27 °C, if the total pressure is 104.8 kPa?
Evaluate the density of concentrated sulfuric acid : A flask has a mass of 78.16g when empty and 593.56g when filled with water. When the same flask is filled with concentrated sulfuric acid, its mass is 1026.57g. Calculate the density of concentrated sulfuric acid.
Prompts the user to input the shipping cost per liter : Write a program that does the Prompts the user to input the dimensions (in feet) of the container (radius the container (radius of the base and the height)
What is the force acting between these two charges : Two equal charges of magnitude +1 C are separated by a distance of 1 km. What is the force acting between these two charges
Explain the empirical formula for hydrocarbon : A gaseous hydrocarbon sample is completely burned in air, producing 1.80 liters of carbon dioxide at standard temperature and pressure and 2.16 grams of water. What is the empirical formula for hydrocarbon
Determine the electric field in the wire : A wire of radius 1.5 mm carries a current of 2.8 A. The potential difference between points on the wire 20 m apart is 4.7V. determine the electric field in the wire
Explain the volume of a gas-filled balloon placed underwater : The volume of a gas-filled balloon placed underwater at a constant temperature will decrease as its depth below the surface of the water is increased.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Create program that uses functions and reference parameters

Create program that uses functions and reference parameters, and asks user for the outside temperature.

  Write a program using vectors and iterators

Write a program using vectors and iterators that allows a user to maintain a personal list of DVD titles

  Write the code required to analyse and display the data

Calculate and store the average for each row and column. Determine and store the values for the Average Map.

  Write a webservices application

Write a webservices application that does a simple four function calculator

  Iimplement a client-server of the game

Iimplement a client-server version of the rock-paper-scissors-lizard-Spock game.

  Model-view-controller

Explain Model-View-Controller paradigm

  Design a nested program

How many levels of nesting are there in this design?

  Convert celsius temperatures to fahrenheit temperatures

Write a C++ program that converts Celsius Temperatures to Fahrenheit Temperatures.

  Evaluate and output the value in the given base

Write C program that will input two values from the user that are a Value and a Base with which you will evaluate and output the Value in the given Base.

  Design a base class shape with virtual functions

Design a base class shape with virtual functions

  Implementation of classes

Implementation of classes Chart and BarChart. Class barChart chould display a simple textual representation of the data

  Technical paper: memory management

Technical Paper: Memory Management, The intent of this paper is to provide you with an in depth knowledge of how memory is used in executing, your programs and its critical support for applications.

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