C languageC SolutionChapter 3Programming

Q5 A five-digit number is entered through the keyboard. Write a program to obtain the reversed number and to determine whether the original and reversed numbers are equal or not.

Program: 73

A five-digit number is entered through the keyboard. Write a program to obtain the reversed number and to determine whether the original and reversed numbers are equal or not.

Output:

 Enter a number: 12321
 Reversed Number of 12321 is 12321
 Input Number 12321 & Reversed Number 12321 are equal

Lokesh Kumar

Being EASTER SCIENCE's founder, Lokesh Kumar wants to share his knowledge and ideas. His motive is "We assist you to choose the best", He believes in different thinking.

One thought on “Q5 A five-digit number is entered through the keyboard. Write a program to obtain the reversed number and to determine whether the original and reversed numbers are equal or not.

  • plz share in c++ this program

    Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.