fork(2) download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4. int x;
  5. scanf("%d",&x);
  6. printf("入力した整数の2乗は%dである",x*x);
  7. return 0;
  8. }
  9.  
Success #stdin #stdout 0s 5316KB
stdin
2
stdout
入力した整数の2乗は4である