logo

Crowdly

Browser

Add to Chrome

Выберите неверное высказывание о данной части программы: double x, f1, f2, s...

✅ 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;

0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.psu.by?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome