Computer Science, asked by nishapv7559, 5 months ago

33. Consider the following C++ code :
int x, sum;
sum = 0;
x = 1;
While (x < = 5)
<
{
Sum = sum + x;
x ++;
}
cout << sum;
(1)
Which is the loop control variable in above code?
(ii) Write the four elements initialization, test expression, update statement and body
of loop in the above code.
(2)
(iii) Write the output of above code.
(2)​

Answers

Answered by nithin3995
0

write the output of gmj

Answered by priyadharshan917
0

Answer:

input

Explanation:

please mark me as brainliest and follow

me

Similar questions