fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. #include<stdio.h>
  5. int main(void){
  6. int n;
  7. printf("自然数入力");
  8. scanf("%d",&n);
  9. for(
  10. int i=1;
  11. i<=n;i++
  12. ){
  13. printf("%d\n",i,i*1*1);
  14. }
  15. return(0);
  16. } // your code goes here
  17. return 0;
  18. }
  19.  
Success #stdin #stdout 0s 5320KB
stdin
7
stdout
Standard output is empty