fork download
  1. #include <stdio.h>
  2. int main()
  3. {
  4. int i,j,n;
  5. for(i=1;i<=4;i++)
  6. {
  7. for(j=1;j<=4;j++)
  8. {
  9. if(i==1 || i==4) printf("*");
  10. else printf(" ");
  11. }
  12. printf("\n");
  13. }
  14. return 0;
  15. }
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
****
    
    
****