#include <cstdio> void f(int n) { printf("%d",n%10); if(n/10) f(n/10); } int main() { int n; scanf("%d",&n); f(n); return 0; }
To embed this project on your website, copy the following code and paste it into your website's HTML: