A person wanted to withdraw X rupees and Y paise from the
bank. But cashier made a mistake and gave him Y rupees and
X paise. Neither the person nor the cashier noticed that.
After spending 20 paise, the person counts the money. And
to his surprise, he has double the amount he wanted to
withdraw. Find X and Y.

Answers were Sorted based on User's Feedback



A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / billy busse

One paise = 1/100 of a rupee.

Given the conditions, we know that:

(X*100 + Y)*2 = Y*100 + X - 20
200X + 2Y = 100Y + X - 20

199X - 98Y = -20

We also know that X and Y must both be integers.

So, put the equation in Y = MX + B form:

199X + 20 = 98Y
(199X + 20)/98 = Y

Now put this in the Y= function of a graphing caluclator,
set the table to start at 1 and go up by increments of 1,
and then scroll down the table until you see an integer
pair.

The integer pair occurs at (26,53)

Therefore, X = 26 and Y = 53

Is This Answer Correct ?    81 Yes 10 No

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / k subramanian

Rs Ps
Original Cheque amount x y
Bank Gave y x
20 Paise spent balance y x-20
Double of Cheque Value 2x 2y
This is same as 2x+1 2y-100 (Here we have used
the fact that 100
paise = 1 Re) We
have removed 100
paise and added 1
Rupee. So the value
remains the same !!
Now we have two equation in x and y such as

2x-y = -1
x-2y = -80

solving these for x and y gives the answer as

x=26 and y=53

Hence the value written in cheque is Rs 26.53

Is This Answer Correct ?    21 Yes 2 No

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / jyotsna

Since a lot of would not have a graphing calcy, here's what
you can do:
after coming upto (199x+20)/98

remainder of 20/98 = 20

remainder 199/98 = 3 --(1)
we need to find 'y' such that Remainder(199y/98 ) = 20, or
20+199y = multiple of 98

(20 +78 = 98)

78/3 = 26 ( ....from 1)
thus x = 26
and y = (20 + 26*199)/98 = 53

Is This Answer Correct ?    16 Yes 2 No

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / abhishek mishra

X=26,Y=53 HE WANTED TO WITHDRAW 26 RUPEES 53 PAISE,BUT
CASHIER GAVE 53 RUPEES 26 PAISE,HE SPENT 20 PAISE.SO
REMANING IS 53 RUPEES 6 PAISE,IT IS DOUBLE THE AMOUNT HE
WANTED TO WITHDRAW 26.53*2=53.06


THANKS
Abhishek mishra

Is This Answer Correct ?    6 Yes 5 No

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / jaya prakash reddy

Answer is 26,53
This type of question can be solve by using any one of the programming languages in a simple way by using two loops for satisfying the equation which we can get from the given question.
Below is the link for the code in Python Language:
https://github.com/JayaPrakash1999/ProgramsByJp/tree/master/Python/ChequePuzzle

Is This Answer Correct ?    1 Yes 2 No

A person wanted to withdraw X rupees and Y paise from the bank. But cashier made a mistake and gav..

Answer / sanket shah

x=4 y=5

Is This Answer Correct ?    7 Yes 30 No

Post New Answer

More Puzzles Interview Questions

A rich man died. In his will, he has divided his gold coins among his 5 sons, 5 daughters and a manager. According to his will: First give one coin to manager. 1/5th of the remaining to the elder son. Now give one coin to the manager and 1/5th of the remaining to second son and so on..... After giving coins to 5th son, divided the remaining coins among five daughters equally. All should get full coins. Find the minimum number of coins he has?

5 Answers  


Four couples are going to the movie. Each row holds eight seats. Betty and Jim don't want to sit next to Alice and Tom. Alice and Tom don't want to sit next to Gertrude and Bill. On the otherhand, Sally and Bob don't want to sit next to Betty and Jim. How can the couples arrange themselves in a row so that they all sit where they would like?

4 Answers  


It comes once in a year and twice in a week what is that?

20 Answers   AJ Square Inc, HCL, Infosys,


Question asked in Infosys Campus Recruitment Held at Pragathi. On an iceland few customs are there .Men always speak truth, no women tells consecutive truth or false i.e. If first statement is true ,second is false and vice versa. same with children also. There was a family couple and a child. A passenger asked the child ?are you a boy or a girl? the boy spoke german. one of the parent said ? he is a boy? the other said ?he is a girl? ?he is lying?. (i)The kid is boy or girl (ii)who spoke the first mother/father

25 Answers   Infosys,


A tank can be filled by pipe A in 30 minutes and by pipe B in 24 minutes. Outlet pipe C can empty the full tank in X minutes. If the tank is empty initially and if all the three pipes A, B and C are opened simultaneously, the tank will NEVER be full. Give the maximal possible value of X.

1 Answers  






One sales man sold one box out of them and then he says, "I have the same number of red balls left out as that of blue." Which box is the one he solds out?

3 Answers  


There is a shortage of tubelights, bulbs and fans in a village - Kharghar. It is found that ? All houses do not have either tubelight or bulb or fan. ? exactly 19% of houses do not have just one of these. ? atleast 67% of houses do not have tubelights. ? atleast 83% of houses do not have bulbs. ? atleast 73% of houses do not have fans. What percentage of houses do not have tubelight, bulb and fan?

2 Answers  


Three friends divided some bullets equally. After all of them shot 4 bullets the total number of bullets remaining is equal to the bullets each had after division. Find the original number divided.

16 Answers   Directi, Infosys, L&T, Shreyas, TCS, Turing Software,


arrange these alphabets evenymroin in to three words

17 Answers   Avaya,


My friend collects antique stamps. She purchased two, but found that she needed to raise money urgently. So she sold them for Rs. 8000 each. On one she made 20% and on the other she lost 20%. How much did she gain or lose in the entire transaction?

3 Answers   Wipro,


A man got 30 aples in 1 Rs.Now he want 20% of profit on it. How many apples He should Sell in 1 Rs.??

20 Answers   TCS,


A cube is made of a white material, but the exterior is painted black. If the cube is cut into 125 smaller cubes of exactly the same size, how many of the cubes will have atleast 2 of their sides painted black?

3 Answers   Infosys,


Categories