Create program to enter number of packages bought

Assignment Help Programming Languages
Reference no: EM1368953

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%

Create a program which asks user to enter number of packages bought . The program must then display amount of discount (if any) and total amount of purchase after the discount.

Reference no: EM1368953

Questions Cloud

What should the charge on particle : What must the charge (sign and magnitude) of a 1.46 g particle be for it to remain stationary while placed in a downward-directed electric field of magnitude 690.
Explain and analysis of you qualities compared to leader : Explain and Analysis of you qualities compared to that leader including how you plan to develop the skills that you do not currently posses
Possible scenarios of supply and demand : Assume you are the manager of a California winery. How would you expect the following events to affect price you will receive for a bottle of wine?
Environmental changes to industry or company : Provide an example of an industry or company that has changed its strategy over time as environmental factors such as technology, competition, and consumer preferences have changed.
Create program to enter number of packages bought : Create a program which asks user to enter number of packages bought . The program must then display amount of discount (if any) and total amount of purchase after the discount.
Explain and identify the kind of societal expectation : Explain and Identify the kind of societal expectation of behavior and what standard of behavior is most appropriate
Primary objective of podsakoff and todors research : What is legitimate power and what was the primary objective of Podsakoff and Todor's research?
Find out the radius of the second sphere : A 50g ball travelling at 25m/s is bounced off a brick wall and rebounds at 22m/s. A high speed camera records this event. If the ball is in contact with the wall for 3.5ms, what is the average acceleration of the ball throughout this time interval..
New product development - shorten cycle : New Product Development: Shorten cycle - In an effort to shorten cycle times, firms have embraced the use of cross-functional teams

Reviews

Write a Review

Programming Languages Questions & Answers

  Statements to find array elements are null or not

Write down statements needed to find whether any of the array elements are null or refer to the empty String. Set the variable hasEmpty to true.

  Write program to display company payroll report in list box

Write a program that display a company payroll report in a list box. the program should read each employees name, hourly rate and hours worked from a file and produce a report.

  Write pseudo algorithm to input age

Write a pseudo algorithm that inputs Age, displays "Yes, you can vote" if Age is 18 or older and displays "You are too young to vote" if Age is less than 18.

  Program using ten radio buttons to show five states

It is program using 10 Radio Buttons to show 5 States and 5 Capitals to user's interface. Also, there is text box to print "Correct" and "Incorrect" when Sate and the Capital is a correct match.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Questions on programing problem with the process of analysis

Questions on Programing Problem with the process of analysis and reflection that went on as you developed the project.

  Create application consisted of three classes

Create an application comprised of three classes. The first class called Crayon represents one crayon of a particular color and length (height).

  Create visual basic windows application

Create Visual Basic Windows application. Use following names for solution and project, respectively: Raise Solution and Raise Project.

  Write parameterized function to play the game

Your program cannot use file level variables or constants; your program cannot use global variables or constants. The functions that you write exchange data by means of return statements and value parameters and reference parameters

  Write program that computes loan payments

Write a program that computes loan payments. The loan can be a car loan, a student loan, or a home mortgage loan. The program lets the user enter the interest rate.

  Write program that uses recursive function to count number

Write a program that uses a recursive function to count the number of blobs in a square grid. Input to the program should consist of the locations of the asterisk in the grid.

  Explaining handles clause of sub procedure

You are asked to design a form with a textbox named txtQty, a label named lblStatus, and a button named btnGetStatus. What will be Handles clause at the end of sub procedure?

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