The sum of the digits of a two digit number is 12. If 54 is subtracted from the number, the digit get reversed. Find the number
Answers
Answered by
4
The number is 93
9+3=12
93-54=39
hence the number gets reversed when 54 is subtracted from 93.
( I found this by trial and error method )
9+3=12
93-54=39
hence the number gets reversed when 54 is subtracted from 93.
( I found this by trial and error method )
Bachu:
Can u pls explain more clearly....
no.= 10x + y
x+y =12
10x +y - 54=10y +x
solve the two equations acoordingly and you get the answer as 93
this is the logic of the program
Answered by
6
let the digit of unit place=x and digit of 10th place=y
so, number is (x+10y)
after reversing of digit number will be (y+10x)
a/q,
x+y=12 ------------EQN(1)
now,
(x+10y)-54=(y+10x)
or, -9x+9y=54
or, x-y=-6 --------EQN(2)
on adding EQN(1) & (2)
2x=6
or, x=3
put the value of x in (1)
3+y=12
or, y=9
therefore number will be (x+10y)=(3+10*9)=93
so, number is (x+10y)
after reversing of digit number will be (y+10x)
a/q,
x+y=12 ------------EQN(1)
now,
(x+10y)-54=(y+10x)
or, -9x+9y=54
or, x-y=-6 --------EQN(2)
on adding EQN(1) & (2)
2x=6
or, x=3
put the value of x in (1)
3+y=12
or, y=9
therefore number will be (x+10y)=(3+10*9)=93
Similar questions