0

This code I wanna change (do while) code

int a=1; while (a<5) { int b=0; while (b<a) { b++; printf("*"); } a++; printf("\n"); }

22nd Oct 2018, 6:07 PM
Hasan Aydın
Hasan Aydın - avatar
2 odpowiedzi
+ 4
This code I wanna change (do while) code int a=1; do { int b=0; do { b++; printf("*"); }while (b<a); a++; printf("\n"); }while (a<5);
22nd Oct 2018, 6:11 PM
Megatron
Megatron - avatar
0
thank you Megatron.
22nd Oct 2018, 6:29 PM
Hasan Aydın
Hasan Aydın - avatar