reverse a palindrom
Answers
Answered by
3
Answer:
C Program to Reverse a Number & Check if it is a Palindrome
- Take the number which you have to reverse as the input.
- Obtain its quotient and remainder.
- Multiply the separate variable with 10 and add the obtained remainder to it.
- Do step 2 again for the quotient and step 3 for the remainder obtained in step 4.
- Repeat the process until quotient becomes zero.
Similar questions