TCS
Company
Category
A boy has Rs 2 in total. If he wins, he gains 1 Rupee and if he loses, he has to loose 1 Rupee. The boy may lose only 5 times in the game and if he earns 5 Rs, he has to quit the game. Find the number of ways of the possibilities
Read Solution (Total 4)
-
- boy may have rs.5 in following ways-
2+3(W)= only one way.
2+(-5L)+8(W);=13!/5!*8!
2+(-4L)+7(w);=11!/4!*7!
2+(-3L)+6(w)= 9!/3!*6!
2+(-2L)+5(w)=7!/2!*5!
2+(-1L)+4(w)=5!/4!
because maximum 5 loss is allowed.
thus total ways of having( rs.5)=1+ 13!/5!*8!+11!/4!*7!+9!/3!*6!+7!/2!*5!+5!/4!
=1728; ans. - 10 years agoHelpfull: Yes(19) No(3)
- he has played 15 games...
in dat he won 10 times so he got Rs.10/-
and 5 time he lost the game so he lost Rs.5/-
total he earns Rs.5/-. - 10 years agoHelpfull: Yes(2) No(12)
- 2^3=8 no of possibilities
- 10 years agoHelpfull: Yes(2) No(3)
- 16 is the correct answer
- 10 years agoHelpfull: Yes(2) No(1)
TCS Other Question