logo

Crowdly

Browser

Add to Chrome

Определите, как задан массив : double a[10]; int i; for (i = 0; i < 10; ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Определите, как задан массив:

double a[10];

int i;

for (i = 0; i < 10; i

=  i + 1) {

              if (i < 5)

                  a[i] = i +

2.0;

              else

                  a[i] = i – 2.0;

               cout

<< setw(10) << a[i] << 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