C++ coding
Snippet
int ctr =1, sum =0, check =1;
do
{
cout<
sum= ctr;
ctr+=2;
check=(ctr<11);
}
while(check);
This is a small snippet and I want the answers for these questions?
i) What is the control variable in the above code?
ii) What is the output of the above code?
Answers
Answered by
2
krishnpal:
hy
Similar questions
Computer Science,
6 months ago
History,
6 months ago
Math,
11 months ago
Science,
11 months ago
Computer Science,
1 year ago
Math,
1 year ago