Rewrite the following code into do while loop
Attachments:
Varsha05:
Good bye
Answers
Answered by
2
int s=5;
do
{
int i=0;
sum=0;
sum+=i;
i++;
}
while(i<s)
cout<<sum;
do
{
int i=0;
sum=0;
sum+=i;
i++;
}
while(i<s)
cout<<sum;
Similar questions
Sociology,
6 months ago
Math,
1 year ago
Math,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago