fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int fun(float a, float b) {
  5. return a / b;
  6. }
  7.  
  8. int main() {
  9. cout << fun(fun(1.0,2.0),fun(2.0,1.0));
  10. return 0;
  11. }
  12.  
  13.  
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
Standard output is empty