Computer Science, asked by ujjwalkant61, 7 months ago

هل موكو)
Convert the following while loop into
for loop:
(1) a = 6
while (a<20):
print(a+5)
a=a+2
(2) c=11
While(c<=25)
print (c)
c=c+3

Answers

Answered by AnindaBasu
0

Answer:

(1)

for(a=6;a<20;a=a+2)

{

print(a+5)

}

(2)

for(c=11;c<=25;c=c+3)

{

print(c)

}

Similar questions