Infosys
Company
Category
Find the value of X,Y and Z in the following
X X X X
Y Y Y Y
Z Z Z Z
.
Y X X X Z
Read Solution (Total 3)
-
- (x+y+z)(1000+100+10+1)=10000y+(1000+100+10)x+z
X-8889y+1110z=0
Possible when x=9
Y=1
Z=8 - 4 years agoHelpfull: Yes(5) No(2)
- Let us come from Left side, the answer part (Y) is the carry. The max Carry that can be generated can be 1 or 2. Let us consider Y=1; so it will become
X X X X
1 1 1 1
Z Z Z Z
---------
and for the right side X+1+Z to become Z the only option for X=9 and the carry is forwarded. The next stage to satisfy the Z=8,
9 9 9 9
1 1 1 1
8 8 8 8
---------------
1 9 9 9 8
---------------
X=9,Y=1,Z=8 - 4 years agoHelpfull: Yes(1) No(0)
- x=9 y=1 z=8
- 4 years agoHelpfull: Yes(0) No(0)
Infosys Other Question