int main() { double a=1.25, b=1.5, c=1.1, d=0, e, f; while (a <= 1.51) { while (b <= 1.51) { while (c <= 1.51) { d=7.11 - a - b - c; e=a*b*c*d; f=a+b+c+d; if (f==e)//{ cout << "\n\nRadau!!! " << a << " " << b << " " << c << " " << d << endl << endl << endl; c=c+0.01;} b=b+0.01;} a=a+0.05;} system ("pause"); return 0; } Uzdavinys: Keturiu skaiciu suma ir sandauga lygi 7.11. Atsakymas 1.25 1.5 1.2 3.16 Bet kazkodel programa jo neranda. :/ Neuzskaito kaip gero atsakymo.