BrainDen.com - Brain Teasers
• 0

## Question

Man went to the bank to cash a check,but the teller made mystake.He gave him cents instead of dollars and dollars instead of cents.The man didn't notice and left the bank.On his way home he spent 5 cents.When he came home he find out,that he has twice more mony,than the amount of the checkIf he had only the mony,which he took from the bank,for how muxch mony was the check?

## 9 answers to this question

• 0

a is the number of dollars in the check, and b is the number of cents

100b + a - 50 = 3(100a + b).

which means 97b - 299a = 50.

check was for \$18.56

##### Share on other sites
• 0
a is the number of dollars in the check, and b is the number of cents

100b + a - 50 = 3(100a + b).

which means 97b - 299a = 50.

check was for \$18.56

No,doesn.t cover the conditions.

##### Share on other sites
• 0
No,doesn.t cover the conditions.

oh yah, he spent 5 cents

*back to whiteboard*

##### Share on other sites
• 0
a is the number of dollars in the check, and b is the number of cents

100b + a - 50 = 3(100a + b).

which means 97b - 299a = 50.

check was for \$18.56

why three? I thought OP said twice ...

100b + a - 5 = 2(100a + b).

which means 98b - 199a = 5.

check was for \$31.63

Edited by brhan

• 0

\$45.95

##### Share on other sites
• 0

I can hardly read the question! can SOMEONE put the question and spell it better?(please!)

Edited by new guest

##### Share on other sites
• 0

\$25.40 he got \$40.25

##### Share on other sites
• 0

If x is the number of cents and y is the number of dollars written on the cheque..

Then it is clear,

100x+y-5=2(100y+x)

=> 98x=199y+5

=> x=(199y+5)/98

now, both x and y has to be an integer

so, from a simple MATLAb program

clear all;
for y=1:100
x(y)=(199*y+5)/98;
end

we get x=63 for y=31.

So the actual amount written on the cheque is 31.63 \$ and he got 63.31 \$

Good build of puzzle

##### Share on other sites
• 0
I can hardly read the question! can SOMEONE put the question and spell it better?(please!)

On the very first post Ash03 declared about his/her weakness in english...please try not to be that rude to anyone..Ash03 is a good puzzle solver and maker..He/she is not an english teacher!

## Create an account

Register a new account