Math, asked by sreekumarir3586, 1 year ago

18. Rewrite the following code fragment using for loop:
i=100
while (I>0):
print(i)
i-=3

Answers

Answered by empathictruro
29

Answer:

The code using for loop is as follows:

for(i=100; i>0; i--)

{

printf(i);

i=i-3;

}

Answered by raybakulchandra
1

Answer:

for i in range(100, 0, -3)

print(i)

Similar questions