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
0
write the output of gmj
Answered by
0
Answer:
input
Explanation:
please mark me as brainliest and follow
me
Similar questions
Biology,
2 months ago
Math,
2 months ago
Computer Science,
2 months ago
English,
5 months ago
Social Sciences,
5 months ago
Hindi,
11 months ago
Math,
11 months ago
Math,
11 months ago