fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int i,j,m,n;
  5. printf("input:m,n");
  6. scanf("%d,%d",&m,&n);
  7. for(i=1;i<=m;i++)
  8. {
  9. for(j=1;j<=n;j++)
  10. {
  11. printf("jh");
  12. }
  13. printf("\n");
  14.  
  15. }
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5288KB
stdin
2,3
stdout
input:m,njhjhjh
jhjhjh