Calculate and display height and cost of container

Assignment Help Basic Computer Science
Reference no: EM1364874

The company wants to know the optimal cost for a cylindrical container that holds a specified volume. Write a fragment of code that uses an ask-before-iterating loop. During each iteration of the loop, your code will ask the user to enter the volume and the radius of the cylinder. Compute and display the height and cost of the container. Use the following formulas, where V is the volume, r is the radius, h is the height, and C is the cost.

h = (V)/(pi)r^2

C = 2(pi)r(r+h)

Reference no: EM1364874

Questions Cloud

Show the types of risk for a project manager : Explain what are the types of risk that a project manager should take into account when planning an initiative and structuring teams?
Money market fund for cash investments : I have received an inheritance for which I require to make good investment decisions. I have received a $100,000 inheritance and would like to invest.
Define the term economic value added (eva) : How do managers supplement the NPV analysis of a project to gain a better understanding of a project?    Define the term economic value added (EVA).
Health service-health organisation : Consider a health service or a health organisation. What are the main components of the wider system within which this service or organisation operates?
Calculate and display height and cost of container : Compute and display the height and cost of the container. Use the following formulas, where V is the volume, r is the radius, h is the height, and C is the cost.
Organization to minimize the identified weaknesses : Provide at least 2 suggestions for each organization to minimize the identified weaknesses.
Explain synchronous time division multiplexing : Synchronous time division multiplexing is used, along with the standard analog-to-digital sampling rate, and each sample is converted into an 8-bit value?
Define what level of influence do you think each stakeholder : Explain What level of influence do you think each stakeholder has in maintaining the ethical behavior of the organization
List possible ways to interconnect three computers : List as many ways as possible to interconnect the three computers so that they could operate on one local area network.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

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