fork download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int i, n;
  5. printf("Input n:");
  6. scanf("%d", &n);
  7. for(i=0;i<n;i++)
  8. {
  9. printf("*");
  10. }
  11. return 0;
  12. }
Success #stdin #stdout 0s 5324KB
stdin
3
stdout
Input n:***