{{{~cpp #include #include #include using namespace std; int n, h, i, j; int length; char s[8]; void display(int size, char *str) { length = strlen(str); for(i=0; i>n>>s) { if(n==0 && s[0]=='0' && s[1]=='\0') break; display(n, s); } return 0; } }}}