fork(1) download
  1. #include <stdio.h>
  2.  
  3. int main() {
  4. int a,b;
  5. scanf("%d",&a);
  6. scanf("%d",&b);
  7. b=a*a*a*a;
  8. printf("%dの四乗は%dです。",a,b);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5320KB
stdin
2
stdout
2の四乗は16です。