Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <cmath>
- using namespace std;
- double f1(double a, double b)
- {
- double f1 = (a + sqrt(b)) / ( b + sqrt(a) );
- return f1;
- }
- int main()
- {
- cout << f1(13,7)+f1(15,12)+f1(31,32);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement