int reverse(int n) { int d,r=0; do { d=n%10; r=r*10+d; n=n/10; } while(n!=0); return (r); }
how to change the do while loop to for loop
Answers
Answered by
1
jggggjgjgjgAnswer:
jhj
Explanation:
Similar questions