question archive Consider the execution of the following code:int[] values = {11, 22, 33, 44, 55, 66, 77, 88, 99}; int sum = 0;for (int x = 0; x < values
Subject:FinancePrice: Bought3
Consider the execution of the following code:int[] values = {11, 22, 33, 44, 55, 66, 77, 88, 99};
int sum = 0;for (int x = 0; x < values.length; x = x + 3) sum = sum + values[x];What value is stored in the variable sum after the code above has completed execution?