fork download
  1. #include <stdio.h>
  2.  
  3. int main(void)
  4. {
  5. int x;
  6.  
  7. puts("整数を入力してくさい:");
  8. scanf("%d", &x);
  9.  
  10. printf("その数の5倍は%dです。\n", 5 * x);
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0.01s 5292KB
stdin
6
stdout
整数を入力してくさい:
その数の5倍は30です。