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, 23.06.2019 11:00
How should you specify box sizes on a web page if you want the boxes to vary according to the font size of the text they contain? a. in pixels b. in inches c. as percentages d. in em units
Answers: 2
question
Computers and Technology, 23.06.2019 12:00
From excel to powerpoint, you can copy and paste a. cell ranges and charts, one at a time. b. cell ranges and charts, simultaneously. c. charts only. d. cell ranges only.
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
question
Computers and Technology, 23.06.2019 20:30
Column a of irma’s spreadsheet contains titles for each row, but her document is too big and will be printed three pages across. she wants to be sure that every page will be understood. what can irma do to with this problem?
Answers: 3
You know the right answer?
Extension: cash register program

3 3 unread replies.3 3 replies.

in codesku...
Questions
question
Geography, 06.05.2020 02:03
question
Social Studies, 06.05.2020 02:03
question
Mathematics, 06.05.2020 02:03
Questions on the website: 13722367