fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. // your code goes here
  5. int rows,i,j;
  6. printf("enter no.of rows:");
  7. scanf("%d",&rows);
  8. for(i=1;i<=1;i++)
  9. {
  10. for(j=1;j<=1;j++)
  11. {
  12. printf("i");
  13. }
  14. }
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5552KB
stdin
Standard input is empty
stdout
enter no.of rows:i