Confused as to why it doesn't work

Cheryplee

New member
Joined
Aug 13, 2020
Messages
2
Ok I'm going crazy thinking about why it's not working so joined this forum just to ask.


3 guys go to a hotel. The owner changes them $10 each for a room ($30 total). Later the owner decides to give them $5 back. The bellboy goes to take the money to them and knowing it can't be split 3 ways gives them $1 each back and keeps $2.

So each of them paid $9 and the bellboy has $2

$9x3people=$27. Plus the bellboy's $2 equals $29 ..... But it started out as $30 ?

The math the other way works fine.
30-5+3+2. Just not the 9*3+2

There has to be something simple I'm missing here
 
I like to track the money and avoid the smokescreen.
Code:
Start:              G1 10 G2 10 G3 10 OW  0 BH 0 Total 30
Pay at the desk:    G1  0 G2  0 G3  0 OW 30 BH 0 Total 30
Send the bellhop:   G1  0 G2  0 G3  0 OW 25 BH 5 Total 30
Refund the guests:  G1  1 G2  1 G3  1 OW 25 BH 2 Total 30

To Dr.Peterson's point, let's expect 30 ONLY when we are adding up things that should sum to 30.
 
Suppose at the start that both the BH and Owner have no money and the three guests each have $10. So the total amount of money is $30.
At the end, the owner has $25, the BH has $2 and each of the three guests have $1. Well, $25 + $2 + $1 + $1 + $1 = 30. Everything adds up fine.

Now I agree that the guests each paid $9 and the BH has $2 but why should this add up to $30. Why not add the $25 to the $29, after all the owner has $25?
 
Top