The program should print out a total amount for the customer

Assignment Help Programming Languages
Reference no: EM13856332

Mike has a cellphone accessories shop that sells cases, memory cards, and headphones. He has a limited number of items that are available. He hired sales representatives to help him take the orders for these items. He finds that the sales representatives do a really good job on writing down the orders, but they are not good at calculating total prices to quote customers. He would like a program that will help calculate how much people owe him. He would like the program to ask the user to enter whether they want a case, memory card, or headphones.

If they chose a case, the program will add $10 to the total. If they want a memory card, the program will add $20 to the total. If they chose headphones, the program will add $25 to the total. After they have entered what they want to buy, have the program ask them if they would like to order anything else. They can order as many different items as they would like. After they have ordered everything they want, the program should then tell them what their total is. If the total comes to more than $50 before taxes, they get a $5 discount. There is a 4.5% tax on the products, but no tax on the shipping. The program should print out a total amount for the customer

Reference no: EM13856332

Questions Cloud

Scholarliness of the articles within the field of psychology : scholarliness of the articles within the field of psychology?
What would immanuel kants categorical imperative : You are an expert security software programmer who works in top secret for the national government of the country of Zulu. Late one afternoon, you come across an ominous email in which you learn that a small group of sinister government officials fro..
Two electric charges in microcoulomb : Write a program force.c that asks the user for two electric charges in microCoulomb (µC) and their distance in centimeters (cm), and calculates the electric force between them in Newtons (N) using Coulomb's law:F = k ·q1 ∗ q2/r ∗ r,where k = 89.8755 ..
What is power tactics : What is Power Tactics? Review the writing of jay Haley, The Power Tactics of Jesus Christ And othert Essay" Review the leadership style, Tacticsof Jesus with the Servanthood leadership tactics of the 21st Century
The program should print out a total amount for the customer : Mike has a cellphone accessories shop that sells cases, memory cards, and headphones. He has a limited number of items that are available. He hired sales representatives to help him take the orders for these items. He finds that the sales represen..
Long-term consequences of enrons actions : By now, you should be very familiar with the Enron case. In the Module 4 SLP, we will evaluate the Enron debacle in the context of Corporate Social Responsibility. Specifically, socially responsible organizations behave in certain, ethical ways. What..
Calculate tension in rope when the elevator is moving upward : Determine the force P and the tension of the rope and calculate the tension in the rope when the elevator is moving upward at a constant acceleration.
European journal of social theory : In these responses, you will have the opportunity to raise issues, address topics in the reading, and assert your own observations on the reading. European Journal of Social Theory

Reviews

Write a Review

Programming Languages Questions & Answers

  Design a math sorting game

Using Visual Studio 2010, design a math sorting game. A random number between 1 and 99 will be generated and displayed to the user. User will quickly have to divide that number by 3, and come up with remainder.

  Develop a calendar and scheduling system

Develop a calendar and scheduling system, This assignment will contain two (2) Parts: Written Paper and Visual Basic Prototype. The Visual Basic Prototype is not included in the total page count but is included in the evaluation of your assignment...

  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.

  Create test-methods for each operations

Write the methods to pass the tests. A significant portion of your score will be based on the effectiveness and thoroughness of your test-methods.

  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?

  How can the two arrays share the same memory

This results in the two arrays sharing the same portion of memory. Can you picture this? How can the two arrays share the same memory?

  Write a program to compute the diameter of a steel rod

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and copper rod, which can withstand a particular compression load

  Program to prompt teacher to input assignment number

The program must prompt teacher to input the assignment number. Score for student for that assignment will be displayed.

  Create application to use scrollable control track

Create the Application which permits you to enter amount of a purchase and then display the amount of sales tax on the purchase. Use a scrollable control such as a track bar to adjust the tax rate.

  Write class which accepts user-s hourly rate of pay

Write down class which accepts the user's hourly rate of pay and number of hours worked. Display user's gross pay, withholding tax (15% of gross pay).

  Create xml document to mark nutrition facts for cookies

Create an XML document that marks up the nutrition facts for a package of Grandma White's cookies. A package of cookies has a serving size of 1 package and the following nutritional value per serving.

  Accepts two int arguments and returns their sum

Assume the availability of a class named Arithmetic that provides a static method , add , that accepts two int arguments and returns their sum .

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