✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Выберите неверное высказывание о данной части программы:
double x, f1, f2, s, p;
int k;
s = 0; p = 1; k =0;
for ( x = 1; x <=3; x=x+1.5)
{
f1 = 2.0 * x;
f2 = x;
s = s + f1;
if (f2 != 0) p = p * f2;
if (f1 < 0) k = k + 1;
}
cout << "s=" << s << endl;
cout << "p=" << p << endl;
cout << "k=" << k << endl;