logo

Crowdly

Browser

Add to Chrome

Який результат виконання наступного фрагмента коду: int ar[10]; int sum = 0; for...

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

Який результат виконання наступного фрагмента коду:

int ar[10];

int sum = 0;

for (int i = 0; i<10; i++)

ar[i] = i + 1;

for (int i = 0; i<10; i++)

if (i % 2 != 0)

sum += ar[i];

cout << sum;

 

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

Want instant access to all verified answers on vns.lpnu.ua?

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

Browser

Add to Chrome