C C++ Java Data Structure Python JavaScript CSS Ajax PL/SQL PHP Puzzles C programs C++ programs Java programs

Home » Puzzles

Puzzle 16) Dollars and Cents

Submitted by Abhishek Jain, on August 11, 2017

Puzzle

A man entered a store and spent one-half of the money that was in his pocket.

When he came out, he found that he had just as many cents as he had dollars when he went in and half as many dollars as he had cents when he went in.

How much money did he have when he entered the store?


Important points of puzzle:

  1. A man went to a store and spent half of the money from his pocket.
  2. When he came out, he found that he had same number of cents as he had dollars before entering the store.
  3. And he had half as many dollars as he had cents when he went in.
  4. Task: You Have to find, how much money did he have when he entered the store?

Answer

$99.98


Reason

He spent one-half of the money = $49.99
Money Remains in his pocket= $49.99
Acc. To Statement:
(i) No. of Dollars before he went in = 99
No. of Cents after he came out =No. of Dollars before he went in = 99
(ii) No. of Cents before he went in = 98
No. of Dollars after he came out = half of cents he had before he went in= 98/2 = 49.









COMMENTS