fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int k,l;
  5.  
  6. printf("階段の段数を決めてください(1~100の間で)");
  7. scanf("%d",&k);
  8. printf("\n");
  9. l=k;
  10.  
  11. printf("%dです。",l);
  12. printf("%dです。",k);
  13. return 0;
  14. }
  15.  
Success #stdin #stdout 0s 5004KB
stdin
10000
stdout
階段の段数を決めてください(1~100の間で)
10000です。10000です。