Program to ask how many games are being purchased

Assignment Help Programming Languages
Reference no: EM1363541

Gamestop wants you to write a program that will automatically give shoppers a 15% discount on their total bill if they buy more than 3 games and a 25% discount if they buy more than 5 games. Every game in the store is on sale for $22. Your program should ask the store clerk how many games are being purchased and calculate a total due (with 6% tax). The total number of games, the discount amount (if any), and the total amount due should be displayed back to the store clerk.

Reference no: EM1363541

Questions Cloud

Calculate forward rates : Given following spot rates for various periods of time from today, calculate forward rates from years one to two, two to three, and three to four.
Computing forward rate : Investing $1,000,000 for six months. Planning purchasing US T Bills at 1.810% six month rate, not yearly, matures in 26 weeks. Spot Exchange Rate is $1.00/Yen100,
Gains and loss in corporation : Does a corporation recognize a gain or loss when it distributes property as a dividend or in a redemption? My text just goes on and on regarding these topics. Is there a reference on the above that is more concise?
Find the magnitude of the resultant : plan a vector to represent each of the two teams. find the magnitude of the resultant.
Program to ask how many games are being purchased : Your program should ask the store clerk how many games are being purchased and calculate a total due (with 6% tax). The total number of games, the discount amount.
Amortization expense for the patent : Lexicon Corporation purchased a patent for $600,000 on January 2, 2001, at which time the patent had an estimated useful life of ten years.
What is the frequency heard by a person : Chameleons catch insects with their tongues, that they can rapidly extend to great lengths. In a typical strike, the chameleon's tongue accelerates at a remarkable 250 m/s^2 for 20 {rm ms}, then travels at constant speed for another 30 {rm ms}.
Invoke method to tell air conditioner object to turn on : Assume there is a reference variable myAC to an object of this class, which has already been created. Using the reference variable, invoke a method to tell the air conditioner object to turn on.
Compute the forward discount : Assume Credit Suisse Quotes spot ninety day forward rates of $0.7957-60, 8-13. Determine the outright 90 day forward rates that Credit Swiss is quoting?

Reviews

Write a Review

Programming Languages Questions & Answers

  Program in visual basic to calculate area of triangle

Write a program in visual basic to calculate area of a triangle.

  Create a java application for employee class

Create a Java application, that support the following:- Create an Employee class, which holds following information: Employee First Name, Employee Last Name.

  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).

  Write a program using two-d array to store a user name

Write a program using a 2-D array to store a user name and password (both strings) that will ask the user for his/her user name and then test to see if they are a valid user.

  Computing first seven values of fibonacci number sequence

Write a program that uses a loop to compute the first seven values of the Fibonacci number sequence.

  Creating a security policy by gathering information

Suppose mantle of a security consultant. You are asked to visit a client and gather information to develop a security policy for them.

  Program to display the bonus

product receives a 5% bonus, otherwise, he receives a 4% bonus. Display the bonus, formatted with a dollar sign and two decimal places, in the bonusLabel.

  Program to read information from keyboard

Write a C++ program that reads the following information from the keyboard terminated with the sentinel -999 in the Student Number, and stores the records in arrays (3 separate arrays).

  Create an abstract representation of a generic animal

Create an abstract representation of a generic Animal that has the at least two polymorphic methods for making a sound and showing the image of the animal.

  Write a program using binary search approach

Write a program using binary search approach

  Create a class uses a 25-element array of digits

Create a class HugeInteger which uses a 25-element array of didgits to store integers as large as 25 digits. Provide services inputHugeInteger, otputHugeInteger.

  Design psuedocode program to calculate amount

Design a psuedocode program that calculates the amount of money a person would earn over a period of time if his or her salary is one penny the first day, two pennies the second day.

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