K.
Dzwonkiewicz
C++
Program 9
As an employee of the restaurant “E-COLI’S FINE FOOD” you need to have food serving engineers determine the correct amount of change to give a customer when paying the bill.
Write a program that will take as input a bill amount and the amount of money tendered to return the exact change to be returned to the customer.
OUTPUT…
PLEASE ENTER AMOUNT OF BILL: $ 23.45
AMOUNT RECEIVED: $ 50.00
RETURN THIS CHANGE:
BILLS
$20: 1
$10: 0
$ 5 : 1
$ 1 : 1
COINS
25¢:0
10¢:0
5¢:1
1¢:0
Hint: ascii code for ¢ is 155
If you saw two guys named Hambone and Flippy, which one would you think liked dolphins the most? I'd say Flippy, wouldn't you? You'd be wrong, though. It's Hambone.
“I went out to
tell Samantha that when a horse gets to a certain age, no matter how loved
it is, it
needs to be put to rest. But then I thought, ‘maybe I should wait until we get
a
horse” - Jack
Handy
If you ever catch on fire, try to avoid looking in a mirror, because I bet that will really throw you into a panic.
I wouldn't be surprised if someday some fishermen caught a big shark and cut it open, and there inside was a whole person. Then they cut the person open, and in him is a little baby shark. And in the baby shark there isn't a person, because it would be too small. But there's a little doll or something, like a Johnny Combat little toy guy --- something like that.