Computer Science, asked by ArpithMohan, 2 months ago

Convert the following for loop into while loop

x = 5

while(x< 10):

print (x + 10)

x+ = 2

Answers

Answered by hifu27
1

Answer:

I'm not sure but

Explanation:

int x;

x=5;

while(x<10)

{

printf(x+10);

x+=2;

}

Answered by uutsavsingh123456789
0

Answer:

Explanation:15 is start,20 is stop where no. will stop but remember it always stop one no before the inputed value , 2 is steps or u can say gap

for i in range(15,20,2):

        print(i)

Similar questions