A program 356 value print Reversal i.e 653:-
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include<stdio.h> int main() { int n,a,b; n=356; printf("n=%d\n",n); a=n%10; n=n/10; b=n%10; n=n/10; printf("n=%d%d%d",a,b,n); } |
A blog about programming languages and this Blog specially Create for learning languages like C language,C++ Language, Data Structure and Algorithm.
1 2 3 4 5 6 7 8 9 10 11 12 13 | #include<stdio.h> int main() { int n,a,b; n=356; printf("n=%d\n",n); a=n%10; n=n/10; b=n%10; n=n/10; printf("n=%d%d%d",a,b,n); } |
Post a Comment