Computer Science, asked by binujoel800, 1 month ago

15. Rewrite the following loop as do-while loop.
int counter = 1, sum = 0;
while( counter <= 50)
{
Sum += counter;
Counter += 5;
}​

Attachments:

Answers

Answered by nayekanantika
2

Answer:

ghixouxpyrxtdulrxurzoyzsyrlyrr

Answered by tahoortayeb315
0

Answer:

int counter = 1, sum = 0;

do

{

sum+=counter;

counter+=5;

}

while(counter ≤=50);

Explanation:

hope it was helpful to you please mark as brainliest

Similar questions