Write a program that display amount of discount on item

Assignment Help Programming Languages
Reference no: EM1367615

Q1) A software company sells a package that retails for $99.Quantity discounts are given according to the following table:

Quantity Discount
10-19 20%
20-49 30%
50-99 40%
100 or more 50%

Write a program that asks the user to enter the number of packages purchased.The program should then display the amount of the discount (if any) and the total amount of the purchase after the discount.

Reference no: EM1367615

Questions Cloud

Estimate cost elasticity of demand for education : Estimate cost elasticity of demand for education at this university. Is cost elasticity of demand for university tuition elastic or inelastic according to answer in part (i) Why.
How much time is necessary for a particle of string : A Carnot engine performs work at the rate of 380 kW when using 730 kcal of heat per second. If the temperature of the heat source is 560 C, at what temperature is the waste heat exhausted.
Which airline has lower costs : If Fly Right were to go out of business, it would be able to rent its plane to another airline for $30,000. Which airline has lower costs.
Where on the y axis is total electric field zero : A model rocket rises with constant acceleration to the height of 3.7, at which point its speed is 25. what was the magnitude of the rocket's acceleration.
Write a program that display amount of discount on item : Write a program that asks the user to enter number of packages purchased. Program must then display amount of the discount (if any) and total amount of the purchase after the discount.
Illustrate what impact on quantity demanded : Illustrate what impact on quantity demanded and supplied for new cars will be as a result. Used demand and supply diagram and clear explanation.
Determine the axes : Assume you hear a commentator on radio state that when interest rates fall, the stock market (the Dow Jones average say) tends to rise.
Management performance plan-motivation and empowerment : State a management performance plan, linking action plans to issues of motivation, empowerment, training and coproduction with the patients and families.
Estimate the charge of each : Neptune has a mass 17.20 times larger than that of Earth and a radius 3.88 times larger. A person weighing 140 lb on the Earth would weigh how much on Neptune.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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