#include<stdio.h>int main(){int i=0;int j=6;while(i<4){while(j>0){printf("");j--;}j=j-2;int k=1;while(k<=i){printf("%d",k);k++;}int l=1;while(l<i){printf("%d",l);l++;}printf("\n");i++;}}
Standard input is empty
1 121 12312
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!