Computer Science, asked by Dukhiya, 1 year ago

Write a program to find reverse of a number​

Answers

Answered by Anonymous
0

\huge\boxed{\fcolorbox{cyan}{Grey}{GoOD Afternoon !!}}

\huge\boxed{\fcolorbox{cyan}{Orange}{Your Answer!!}}

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 usksss847
0

your answer is in the pic given below

mark me brainlest....

Attachments:
Similar questions