Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <cmath>
- #include <iostream>
- using namespace std;
- int main()
- {
- double k1,k2,k3;
- cin>>k1>>k2>>k3;
- cout.setf(ios::fixed);
- cout.precision(0);
- cout<<1000.0*k1*k2*k3/(k1*k2+k1*k3+k2*k3);
- _getch();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment