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

  Develope a tutoring software for an elementary school

You are the project manger for a company that is planning to develope a tutoring software for an elementary school that will follow their curriculum create a work breadown structure.

  Initialize elements of array with even integers

declare an array called values of type unsigned int with 5 elements. Initialize the elements of the array with the even integers from 2 to 10.

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Characteristics used for biometric user authentication

You have just been promoted to manager of computer security for large enterprise (XYZ Corporation). Your first project as security manager is to estimate principal physical characteristics used for biometric user authentication.

  Design logic for application for company to store breakdown

Design the logic for an application for a company that wants a report containing a breakdown of payroll by department. Input includes each employee's last name.

  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?

  Write program that lets user enter charge account number

Write a program that lets the user enter a charge account number. The program should determine if the number is valid by checking for it in the following list.

  Design recursive program to generate random blurbs

A Whoozit is the character 'x' followed by zero or more 'y's. A Whatzit is a 'q' followed by either a 'z' or a 'd', followed by a Whoozit. Design and implement a recursive program that generates random Blurbs in this alien language.

  Show how the tree might be type-checked

Attempt to derive proof tree for the judgment Show how the tree might be type-checked

  Write a program to create three identical list

Write a program to create three identical list, list1, list2, and list3, of 5000 elements. The program then sorts list1using quick sort, list 2 using insertion sort.

  Develop computerized pot hole tracking and repair system

Department of public works for city has decided to develop computerized pot hole tracking and repair system. As pot holes are reported to customer service.

  Determine total cost of order-display it in alert dialog box

After you determine the total cost of the order (purchase plus shipping and handling), display it in an alert dialog box.

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