logo

Crowdly

Rewrite the following for loop as a while loop (make sure to include the rest o...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Rewrite the following for loop as a

while loop (make sure to include the rest of the required

preceding code):

for(x = 1; x < 10; x++)

{

   printf("%d", x);

}

and the following

while loop as a for loop:

a = 1;

b = 6;

while (a < b)

{  

a++;  

printf("%d\n", a);

}

More questions like this

Want instant access to all verified answers on dle.plaksha.edu.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!