#include<stdio.h> int main(){ int n=12345; int sum=0; int c; while (n!=0){ sum= (sum*10)+n%10; n=n/10; } printf("%d",sum); }
To embed this project on your website, copy the following code and paste it into your website's HTML: