Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include "cmath"
- using namespace std;
- double func(const double a,const double b,const double c)
- {
- double pervoe,vtoroe,govnishe,gov1,pizdec,pizdec2,gov2,res,qub,qvr;
- qub = b*b*b;
- qvr = a*a;
- pervoe = qvr-qub;
- pizdec = a*c;
- vtoroe = fabs(pizdec);
- pizdec2 = b*b;
- govnishe = sqrt(vtoroe + b*b);
- gov1 = sin(pervoe);
- gov2 = gov1 - govnishe;
- res = pow(gov2, 1.0/3.0);
- return res;
- }
- int main()
- {
- double A,B,C,result;
- while(true)
- {
- cout << "\t Введите ваше говнище по порядку,пж \n";
- cin >> A >> B >> C;
- result = func(A,B,C);
- cout << result << endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement