Задача

6/9

Array element values

Задача

Determine what values ​​will be in the array after running the code snippet below.
Source array. Numbering of array elements - from 0 to 4.
5 4 3 2 1
for (int i = 0; i < 5; i++)
{
     A[i] = A[i] + i;
}

Specify in the response the values ​​of the array elements that will appear in the array after the execution of this program fragment. Separate element values ​​with one space.

Выберите правильный ответ, либо введите его в поле ввода

Комментарий учителя