fork download
  1. #include <stdio.h>
  2. int tas(int x,int y){
  3. return x+y;
  4. }
  5.  
  6. int jyo(int x){
  7. return x*x*x;
  8. }
  9.  
  10. int main(void) {
  11. // your code goes here
  12. int a,b;
  13. a=2;
  14. b=-3;
  15. printf("(%d+%d)^3=%d\n",a,b,jyo(tas(a,b)));
  16. return 0;
  17. }
  18.  
Success #stdin #stdout 0s 5320KB
stdin
Standard input is empty
stdout
(2+-3)^3=-1