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