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

  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