subject
Computers and Technology, 07.10.2019 00:00 SithLeo

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: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 22.06.2019 16:10
Drag each label to the correct location on the imagelist the do’s and don’ts of safeguarding your password.keep yourself loggedin when you leave your computer.don’t write your password down and leave it whereothers can find it.share your password with your friends.each time you visit a website,retain the cookies on your computer.use a long password with mixed characters.
Answers: 1
question
Computers and Technology, 23.06.2019 01:30
1. which of the following is a search engine? a) mozilla firefox b)internet explorer c)google d)safari 2. which of the following statements is true? a) all search engines will provide the same results when you enter the same query. b) all search engines use the same amount of advertisements. c) some search engines are also browsers. d) search engines often provide different results, even when you enter the same query.
Answers: 2
question
Computers and Technology, 23.06.2019 01:50
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors.java.
Answers: 2
You know the right answer?
Extension: cash register program
3 3 unread replies.3 3 replies.
in codeskulptor, write...
Questions
question
Mathematics, 29.03.2021 21:10
Questions on the website: 13722361