fork download
  1. #include <iostream>
  2. #include <cmath>
  3. using namespace std;
  4. int main()
  5. {
  6. double b, x, y, z, k;
  7. cin >> x;
  8. cin >> y;
  9. cin >> z;
  10.  
  11. k=y-5;
  12.  
  13. if( k == 0) //числитель равен 0
  14. {
  15.  
  16. cout << "решений нет "<< endl;
  17.  
  18. }
  19. else
  20. {
  21. b=x-(pow(z,2)*pow(cos(x),4)/(y-5))-1/8-pow(cos(x),0.2);
  22. cout<<"b="<<b<<endl;
  23. }
  24. // your code goes here
  25. return 0;
  26. }
  27.  
Success #stdin #stdout 0s 15232KB
stdin
0
5
0

stdout
решений нет