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 program takes input from a user in the phone

Program takes input from a user in the phone of a phone number, 7 digits plus the hyphen. It then checks whether a user has entered Q to quit, if 0 or 555 are the begging sequence of inputs (if they are the program alerts the user to an error with..

  Design a class for string field for toppings

Design a class named pizza. Data fields include a string field for toppings (such as pepperoni) and numeric fields for diameter in inches (such as 12) and price (such as 13.99).

  Provide unoptimized-optimized prefix using recursive rule

Where the recursive rule uses concatenation of strings, so F2 is "ab", F3 is "aba". Note that the length of Fn is the nth Fibonacci number. Provide unoptimized and optimized ‘prefix' (fail) function for F7.

  1 what were the key learnings surprises realized during

1. what were the key learnings surprises realized during the implementation of the first phase of outsourcing to

  Create new method public to create and return new picture

Create a new method public Picture frame (int frameSize, Color frameColor) this method will create and return a new picture object.

  Summary of the technical experiences that you used

Create the logic for a program that accepts input values for the projected cost of a vacation and the number of months until vacation. A summary of the technical experiences that you used in completing this lab. The commands that were of greatest be..

  Write an arm subroutine which allocate memory for new string

Prepare an ARM subroutine which will extract a substring from a string and you will need to use the library routine malloc to allocate memory for the new string - CS252 Programming Assignment

  Two-level memory cache hierarchy

Explain how you would pipeline the four following pairs of statements.

  Write prolog clauses to define the relationships

Using Prolog, establish a database of facts and rules for the following predicates.

  Develop the application to show coffee customer orders

Develop the application which shows the total pounds of coffee customer orders, sales tax, and total price of order. Write down the name the solution, project, and form file Jason Coffee Solution, Jason Coffee Project.

  Threads belonging to same process affected by page fault

Other user user threads belonging to the same process also be affected by the page fault - that is would they also have to wait for the faulting page to be brought into memory? Explain.

  Projects for the falling letters game

Design and implement two projects for the Falling Letters game using C# and Windows Presentation Foundation (WPF) template in Visual Studio 2012 or newer.

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