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

  Enormous geoglyphs

The South American civilization known for its enormous “geoglyphs,” best seen in an  aerial view is:

  Attention and consciousness

Describe how theories of attention apply to the situation, and point out the social and /or cultural factors that might influence attention in both this situation and others.

  Future predictions for additional changes in autonomy

Write down some future predictions for additional changes in the autonomy, specialty preparation and relationships based on the trends which nursing is experiencing presently?

  Develop an original entrepreneurial vision

Develop an original entrepreneurial vision into a successful reality

  E-activity

Search Online, Business Publications, and Newspapers for articles related to organizational change in Google and Apple.

  Flashblub memory fundamentals

Illustrate your thoughts on the content of this discussion below as it relates to Flashblub Memory? Do you agree or disagree? Why

  Can fossil record shed any light on language originally

Can fossil record shed any light on question of when language originally evolved. Most linguists believe language cannot be traced back more than 10,000 years at most.

  Abnormality theory-biological-psychological-sociocultural

Abnormal psychology text presents three main theories of abnormality: biological, psychological, and sociocultural. How can these perspectives be integrated to explain symptoms of depression?

  Psychological research on nonhuman animals

Discuss how Darwin's theory supported psychological research on nonhuman animals. Give one research question which can only be answered by doing experiments with nonhuman animals in order to shed light on human psychology.

  Functional behavioral assessment short paper

Review the Week 3 assignment, “Functional Behavioral Assessment Short Paper,” in which you outlined three challenging behaviors (and a possible function for each behavior) commonly observed in young children.

  Marriage ritual in brazil

I have to write a paper about marriage ritual in Brazil (because I attended a wedding over there last year), so I want to compare USA and Brazil weddings for my anthropology class. Please see requirements below:

  Considering direct costs-indirect costs

When making a budget for your change project, you need to consider direct costs and indirect costs. How do they differ? Can indirect costs be budgeted?

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