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

  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