Hakunin

Programiranje_Vezba4

Mar 29th, 2016
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. #include <stdio.h>
  2.  
  3. main()
  4. {
  5.  
  6. int i=0,n,j;
  7. //scanf("%d",&n);
  8. for(i;i<=5;i++)
  9. {if(i%5==0)
  10. for(j=0;j<=5;j++)
  11. printf("*");
  12. else
  13. for(j=0;j<=5;j++)
  14. { if(j%5==0)
  15. printf("*");
  16. else
  17. printf(" ");
  18. }
  19. printf("\n");
  20.  
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment