fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void)
  4. {
  5. int h,c,k;
  6. scanf("%d,%d,%d",&h,&c,&k);
  7.  
  8. printf("體積:%d*%d*%d=%d",h,c,k,h*c*k);
  9.  
  10. return 0;
  11. }
Success #stdin #stdout 0s 5280KB
stdin
2,2,4
stdout
體積:2*2*4=16