fork download
  1. #include <stdio.h>
  2. int main(void)
  3. {
  4. int n;
  5. printf("Input n:");
  6. scanf("%d", &n);
  7. int sum = 0;
  8. int i = 1;
  9. do
  10. {
  11. printf("李夏宇\n");
  12. i++;
  13. }while(i <= n);
  14. return 0;
  15. }
  16.  
Success #stdin #stdout 0s 5316KB
stdin
10
stdout
Input n:李夏宇
李夏宇
李夏宇
李夏宇
李夏宇
李夏宇
李夏宇
李夏宇
李夏宇
李夏宇