subject

2. Write a program that models a cashier at a store. The program will take two numbers as input. Firstly, the cost of an item ($20.00 or less). Secondly, the amount of money given to the cashier ($20.00 or less). The program should output the change given in 10 dollar bills, 5 dollar bills, 1 dollar bills, quarters, dimes, nickels, or pennies. You should output the highest denominations possible. For example, if the item costs $5.20 and the cashier is given $10 then the change should be 4 dollar bills 3 quarters 1 nickel

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 18:00
Martha is a healer, a healthcare provider, and an experienced nurse. she wants to share her daily experiences, as well as her 12 years of work knowledge, with people who may be interested in health and healing. which mode of internet communication can martha use?
Answers: 3
question
Computers and Technology, 22.06.2019 19:20
Write a program that reads a file consisting of students’ test scores in the range 0–200. it should then determine the number of students having scores in each of the following ranges: 0–24, 25–49, 50–74, 75–99, 100–124, 125–149, 150–174, and 175–200. output the score ranges and the number of students. (run your program with the following input data: 76, 89, 150, 135, 200, 76, 12, 100, 150, 28, 178, 189, 167, 200, 175, 150, 87, 99, 129, 149, 176, 200, 87, 35, 157, 189.)
Answers: 3
question
Computers and Technology, 23.06.2019 18:50
What is transmission control protocol/internet protocol (tcp/ip)? software that prevents direct communication between a sending and receiving computer and is used to monitor packets for security reasons a standard that specifies the format of data as well as the rules to be followed during transmission a simple network protocol that allows the transfer of files between two computers on the internet a standard internet protocol that provides the technical foundation for the public internet as well as for large numbers of private networks
Answers: 2
question
Computers and Technology, 24.06.2019 13:30
What is the most important for you to choose before you build a network?
Answers: 1
You know the right answer?
2. Write a program that models a cashier at a store. The program will take two numbers as input. Fir...
Questions
question
History, 30.12.2019 14:31
question
Geography, 30.12.2019 14:31
question
Spanish, 30.12.2019 14:31
question
Advanced Placement (AP), 30.12.2019 14:31
Questions on the website: 13722360