subject

Extension: cash register program

3 3 unread replies.3 3 replies.

in codeskulptor, write a cash register program that calculates change for a restaurant of your choice. your program should include:

ask the user to input the cost of 3 items purchased by the customer*

tell the user the total cost of the items purchased

ask the user to input the amount paid by the customer

calculate and print the amount of change to be given to the customer

*hint: what data type will you need to use to deal with money (decimal numbers)?

then, save your program and post the link to it into the discussion below.

after you post, you will be able to see the programs submitted by other students. look through their programs and reflect: how are the programs similar to yours? how are they different?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 17:40
Consider the simple 3-station assembly line illustrated below, where the 2 machines at station 1 are parallel, i.e., the product only needs to go through one of the 2 machines before proceeding to station 2.what is the throughput time of this process?
Answers: 2
question
Computers and Technology, 22.06.2019 19:00
How is the number 110 written when expanded out to place values in the base 2 (binary) number system? options: 2 x 4 + 3 x 2 + 4 x 1 1 x 2 + 1 x 2 + 0 x 2 1 x 100 + 1 x 10 + 0 x 1 1 x 4 + 1 x 2 + 0 x 1
Answers: 1
question
Computers and Technology, 22.06.2019 20:00
What is used to analyze and summarize your data without graphical support
Answers: 1
question
Computers and Technology, 23.06.2019 14:30
The option enables you to modify a slide element in most presentation applications.
Answers: 2
You know the right answer?
Extension: cash register program

3 3 unread replies.3 3 replies.

in codesku...
Questions
question
History, 21.08.2019 09:10
Questions on the website: 13722359