fork download
  1. #include <stdio.h>
  2.  
  3. int main(void) {
  4.  
  5. int a,b,c,v,s;
  6.  
  7. a=2;
  8. b=3;
  9. c=5;
  10.  
  11. v=a*b*c;
  12. s=2*(a*b+b*c+a*c);
  13. printf("%d,%d\n",v,s);
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
30,62