fork download
  1. #include <iostream>
  2. using namespace std;
  3. float liniowa (float a,float b, float x){
  4. return a*x+b;
  5. }
  6. float ulamek (float l, float m){
  7. return l/m;
  8. }
  9. int main() {
  10. cout<<liniowa (3.5,3.5,9)/9+ulamek (9,2);
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
8.38889