Advertisement
Guest User

Untitled

a guest
Sep 11th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3. int main()
  4. {
  5. double x, y, z, a, b, c, h;
  6. cout << "2,45";
  7. cin >> x;
  8. cout << "-0,423*pow(10,-2)";
  9. cin >> y;
  10. cout << "-1,232*pow(10,3)";
  11. cin >>z;
  12. a = pow(x, 2 * y) + exp(y - 1);
  13. b = 1 + x * fabs(y - tan(z));
  14. c = 10 * pow(x, 1 / 3.) - log(z);
  15. h = a / b + c;
  16. cout << "Result h=" << h << endl;
  17. return 0;
  18.  
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement