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