fork download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int x;
  5.  
  6. scanf("%d",&x);
  7. printf("整数xの4乗は%d*%d*%d*%d=%dです\n",x,x,x,x,x*x*x*x);
  8. return 0;
  9. }
Success #stdin #stdout 0.01s 5284KB
stdin
2
stdout
整数xの4乗は2*2*2*2=16です