Answered You can hire a professional tutor to get the answer.
Given the following while loop, what is the value of 'sum' after the 3rd time through the loop, at the point of the --HERE-- listed below in the code?...
Given the following while loop, what is the value of 'sum' after the 3rd time through the loop, at the point of the --HERE-- listed below in the code?
int counter = 30;
int sum = 20;
while (counter >= 0) {
counter++;
sum = sum + counter -3;
counter = counter - 3;
// --HERE--
if (sum <= counter) {
sum = counter * 4;
} else {
sum = counter + 2;
}