Computer Science, asked by Varsha05, 1 year ago

Rewrite the following code into do while loop

Attachments:

Varsha05: Good bye
Varsha05: Not intrested
Varsha05: Sorry no more chat

Answers

Answered by Anonymous
2
int s=5;

do

{

int i=0;

sum=0;

sum+=i;

i++;

}

while(i<s)

cout<<sum;

Varsha05: Thanks☺
Anonymous: :=)
Similar questions