REVERSE THE GIVEN NUMBER
INTRODUCTION Write a program to REVERSE THE GIVEN NUMBER. APPROACH: The idea behind reversing a given number is to extract the last digit of the number and form a new number in the reverse order. To extract the last digit, we will simply divide the number by 10, the remainder which results out is the …