The difference between a two-digit number and the number obtained by interchanging the positions of its digits is 45. What is the difference between the two digits of that number?
(D) None of these
Let the ten’s digit be x and unit’s digit be y Then (10x + y) – (10y + x) = 45 9(x – y) = 45 x – y = 5
Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.