Convert the following do. . .while loop into a for loop and a while loop. Did the
Question:
Convert the following do. . .while loop into a for loop and a while loop. Did the logic change? If so, explain.
int counter = 100;
do
{
Console.WriteLine(counter);
counter--;
}
while (counter > 0);
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
C# Programming From Problem Analysis To Program Design
ISBN: 9781285096261
4th Edition
Authors: Barbara Doyle
Question Posted: