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

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:30, tfornwalt4390
Melissa needs to add a topic to an email that she will send to her teacher. choose the name of the field where she should type her topic.
Answers: 2
image
Computers and Technology, 22.06.2019 18:30, lailahussain99
Which of the following is an example of intellectual properly! oa. new version of a novelb. journal of ideasc. pages of a bookood. lines of a poem
Answers: 2
image
Computers and Technology, 23.06.2019 03:10, kyleereeves2007
Acomputer has a two-level cache. suppose that 60% of the memory references hit on the first level cache, 35% hit on the second level, and 5% miss. the access times are 5 nsec, 15 nsec, and 60 nsec, respectively, where the times for the level 2 cache and memory start counting at the moment it is known that they are needed (e. g., a level 2 cache access does not even start until the level 1 cache miss occurs). what is the average access time?
Answers: 1
image
Computers and Technology, 23.06.2019 15:10, cathyjuan
What role did women fill during world war ii?
Answers: 1
You know the right answer?
Extension: cash register program

3 3 unread replies.3 3 replies.

in codesku...

Questions in other subjects:

Konu
Mathematics, 08.12.2020 05:20
Konu
Mathematics, 08.12.2020 05:20