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 software application development coding practices

Use the Library and other resources to write a software application development coding practices guide. Your guide should include recommendations

  Program to write variable declarations and function calls

Write a program whose main function is merely a collection of variable declarations and function calls. This program reads a text and outputs the letters, together with their counts.

  Ways to ensure that website is easy to navigate

A good practice would be to spread the content out among several pages. What are some ways to ensure that your website is easy to navigate?

  Explain multiprogrammed system available in user mode

CPU voltage and frequency or put it to sleep altogether. In a multiprogrammed system should this functionality be available in user mode or only accessible via system call. why or why not?

  Design interactive program using prewritten methods

Design an interactive program that does the following, using the prewritten methods whenever they are appropriate. Prompt the user for and read a library card number, which must be between 1000 and 9999.

  Deisgn class contains data fields for height and surfacearea

Deisgn a class named Rectangle that contains data fields for height width and surfaceArea and a method named computeSurfaceArea?

  Creating personnel promotion application program

The following application program will be modified to accommodate the change to the database table. The personnel promotion application program.

  Designing the site links

Company needs to be able to schedule the time of day when the connections are available for replication. Replication should not occur during peak business hours. When designing the site links, which of the following options should you use?

  Program-visual basic to compute tips for services rendered

Write a program in Visual Basic 2010 to compute tips for services rendered. The program should request the person's occupation, the amount of the bill and the percentage tip

  Designing navigation system for point-and-click system

Design a navigation system or menu allows Access to act like point-and-click system. Write down some of the kinds of navigation.

  Write code for largest value of parking tickets

Without using any additional variables, and without changing the values of ndays or the elements of the parkingTickets array, write some code that results in mostTickets containing the largest value found in parkingTickets .

  Write statement essential to call compute interest method

Write statement essential to call the calculate interest method with an account balance of $2300.00 and an interest rate of 5%. What rule must be adhered to when calling a method with multiple parameters?

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