int ctr=1,sum=0,check=1;
do{
cout<
sum=sum+ctr;
ctr+=2;
check=(ctr<11);
}while(check)
In this snippet what is the control variable?
Answers
Answered by
0
int ctr=1,sum=0,check=1;
do{
cont<
sum=sum+ctr;
ctr+=2;
check=(ctr<11);
}while(check)
In this snippet check is the control variable
Similar questions