Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <conio.h>
  3.  
  4. int main(void)
  5. {
  6. int one=0;
  7. int two=0;
  8. int three=0;
  9. if (two == 0) printf(" ");
  10. while(three<4){ printf(" ");
  11. while(two<2){
  12. while(one<8){
  13. printf("* ");
  14.  
  15. one++;
  16. }
  17. one=0;
  18. printf("\n");
  19. printf(" ");
  20.  
  21. two++;
  22.  
  23. }
  24.  
  25. two=0;
  26.  
  27. three++;
  28.  
  29. }
  30.  
  31.  
  32. getch();
  33. return 0;
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement