Simple cash register

Assignment Help Other Subject
Reference no: EM13175229

The Pizza House wants you to write a program that simulates a simple cash register. The program firstly should ask the user to enter the price of the meal. Then, the program should calculate the sales tax (8.25% of the meal price) and add it to the meal price to obtain the total price, which should be displayed to the user. The program then ask for the amount tendered (the amount customer gives to pay the bill). After the user entered the amount tendered, the program should display the amount tendered, the total price of the meal and the change amount. 

Finally, after each transcation, the user is given the option whether to continue with the next transaction or quit the program.

Reference no: EM13175229

Questions Cloud

Smaller proportion of their income on food : Americans spend a smaller proportion of their income on food than any other industrial nation. A major reason for this is that we've industrialized our food supply in the same way that we produce cars, shoes, and television sets.
Ancient times : In ancient times, Egyptians thought that the combined light of the Sun and the brightest star in the nighttime sky, Sirius, created summer heat.
Spoils system or patronage system : Which of the following was not key in reducing the prevalence of the "spoils system," or patronage system, from American politics?
What is the law of supply : What is the law of supply, and what are the factors that cause shifts in supply? What is the law of demand and why is it important?
Simple cash register : The Pizza House wants you to write a program that simulates a simple cash register. The program firstly should ask the user to enter the price of the meal. Then, the program should calculate the sales tax (8.25% of the meal price) and add it to the m..
Describe inflation, unemployment rate, production : You have been hired as a consultant by your mayor to evaluate the increase in aggregate demand in the city where you live. Describe to the mayor one (1) aggregate demand and supply factor that would have the greatest impact on the economy of your ..
Legal implications for the employer vs the employee : Should the firm be legally allowed to fire her based on the employment-at-will doctrine?. Why or why not? What are the legal implications for the employer vs the employee in this particular instance?
Explain the short term and long term effects : A major breakthrough that allows for on-site generation of electricity for an investment in the generating capacity but after that essentially a zero variable cost of electricity.
Use of encouragers-paraphrasing : Describe your use of encouragers, paraphrasing, and/or questioning to elicit meaning from the client. Finally, comment on the difference between the interviewer naming or giving meaning to something a client says versus the interviewer eliciting a st..

Reviews

Write a Review

Other Subject Questions & Answers

  Neglecting the supervision

What is the institutionâ??s legal duty with respect to a student for whom it arranges an off campus internship or practicum?

  Current status of american dream

Assess the current status of the American Dream. Is it still possible to live this dream? Why or why not? How might the government work to insure that this dream remains real and reachable

  Use theory of liquidity preference to show influence policy

The Federal Reserve expands money supply by 5%. Use theory of liquidity preference to show the influence of this policy on interest rate.

  Despite the obvious significance of yorktown

Despite the obvious significance of Yorktown, most did not expect it to end the war because

  The analytical aspects of strategy in the public sector

Examine critically the analytical aspects of strategy in the public sector and the extent to which the structure, systems and organizational culture influence the implementation phase. Illustrate your answer with examples from the education sector

  Choosing a rhetorical mode

If you were allowed to choose a rhetorical mode other than compare-contrast, what type of essay would you choose to write for your final essay? Why?

  Factors affecting the achievement of project objectives

Assess factors affecting the achievement of project objectives.

  Theory of linguistic relativity hypothesis

Whorf's (controversial) Theory of Linguistic Relativity hypothesizes that language affects the way we think.

  Cultures and individual views on just world

Just World, Individual Morality, Responsibility, Ethics of Interaction, Societal interdependence discusses to underscore the importance of acknowledging Relativism in Morality and Theory of Interdependence

  Extract oil from a site

In deciding whether to extract oil from a site and how much of the total to extract,

  Capital budgets and operating budgets

Distinguish between capital budgets and operating budgets.

  How educational and clinical psychology concepts applied

How can educational and clinical psychology concepts be applied to other disciplines and venues in contemporary society other than psychology? Educational Psychology? Clinical Psychology?

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