- int main ()
- {
- double fxy;
- int x, y ;
- cout << "Iveskite x ir y reiksmes:" << endl;
- cout << "x = " ; cin >> x; cout << endl;
- cout << "y = " ; cin >> y; cout << endl;
- if (x * x * x - y == 0)
- cout << "Su siomis x ir y reiksmemis f-ja neturi sprendiniu." << endl;
- else {
- fxy = (y*y - 2*y*x + x*x) / (x*x*x - y);
- cout << "F(x,y) = " << fxy << endl;
- }
- return 0;
- }