Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 14:00, shawn423
How are stop motion special effects in animated films created
Answers: 1
image
Computers and Technology, 23.06.2019 15:20, headshotplayzcod
In a game with three frames, where will the objects on layer 1 appear? a. next to the play area b. in the middle of the game c. behind everything else d. in front of everything else
Answers: 1
image
Computers and Technology, 23.06.2019 16:00, CalCDanG
What is the biggest difference between section breaks and regular page breaks? section breaks are more difficult to add than page breaks. section breaks make it easier for you to view the document as an outline. section breaks allow you to have areas of the document with different formatting. section breaks are smaller than regular page breaks.
Answers: 2
image
Computers and Technology, 24.06.2019 00:00, Kaylaonfleek0956
Consider the series where in this problem you must attempt to use the ratio test to decide whether the series converges. compute enter the numerical value of the limit l if it converges, inf if it diverges to infinity, minf if it diverges to negative infinity, or div if it diverges but not to infinity or negative infinity.
Answers: 1
Do you know the correct answer?
2. Write a program that models a cashier at a store. The program will take two numbers as input. Fir...

Questions in other subjects: