Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.29 KB | None | 0 0
  1. #include<bits/stdc++.h>
  2.  
  3. using namespace std ;
  4.  
  5. int main ()
  6. {
  7.     double t, v, w ;
  8.     cin >> t >> v ;
  9.     if (abs(t) <= 50 || v <= 120 || v >= 3 )
  10.     {
  11.         w = 35.74 + 0.6215*t+(0.4275*t - 35.75)*pow(v,0.16) ;
  12.     }
  13.  
  14.     cout << fixed << setprecision(2) << w ;
  15.     return 0 ;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement