Write a program to find reverse of a number
Answers
Answered by
0
1)int main() { int n, r = 0;
2)printf("Enter a number to reverse\n"); scanf("%d", &n);
3)while (n != 0) { r = r * 10; r = r + n%10; n = n/10; }
4)printf("Reverse of the number = %d\n", r);
Hope it help you dear
JaI HinD
JaI BhaRat
Answered by
0
your answer is in the pic given below
mark me brainlest....
Attachments:
Similar questions