Write any six digit number. Reverse the digits to get another number. Find which of the two numbers is greater.
Let the six digit number be 156987
When we reverse the digits we get 789651
Hence, the second number is greatest i.e., 789651