Write program to enter number of packages purchased

Assignment Help Programming Languages
Reference no: EM1365000

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: EM1365000

Questions Cloud

Find out the velocity of the plane relative to the earth : Find out the velocity of the plane relative to the earth.
Managing local and core data : Why do you categorize the examples you chose into these categories and does the organization manage data in these three categories?
Services provided by homecare : What are the services provided by homecare? Are there financial benefits to using homecare services? And, what examples of technology can you identify and discuss that are being used in home health care?
Determine sensitivities of the portfolio : Based on a three factor model, consider a portfolio composed of three securities with the following characteristics, determine the sensitivities of the portfolio to factors 1, 2, and 3?
Write program to enter number of packages purchased : Write a program that asks the user to enter the number of packages purchased.The program should then display the amount of the discount.
Find the angle counterclockwise relative to the horizontal : find the angle counterclockwise relative to the horizontal.
Communicating for effective change : What role does managerial communication play in the emergence of an organization's consensus surrounding change
Explain and identify the fixed path : Explain and Identify the fixed path and variable path material-handling equipment commonly found in supermarket.
Material in the healthcare field : Describe with specific examples how at least five management principles, methods, theories, or tools studied can positively impact change in a healthcare organization. How can we utilize this material in the healthcare field?

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