Thread
:
convert for loop into while and do..while
View Single Post
philay
Light Poster
13Dec2007,06:28
Code:
int i=1,j=1; do { printf("%i",i); i++; do { printf("\n"); j++; }while(j<=i); }while(i<=5);