Computer Science, asked by krupasirishaponuku, 4 months ago

write recursive function to return reverse of given number

Answers

Answered by Anonymous
31

\huge\underbrace\mathrm\green{AnSwEr}

Logic to find reverse of number using recursion

Multiply reverse variable by 10.

Find the last digit of the given number.

Add last digit just found to reverse .

Divide the original number by 10 to remove last digit, which is not needed anymore.

Similar questions