Computer Science, asked by vikranth9901, 5 months ago

write a loop statement that initialises a loop variable x as 2,increments it by 2 in every iteration and continues the loop till x is less than 15​

Answers

Answered by allysia
4

Answer:

The program in python goes like:

__________________________

x=2

while x<15:

   print(x)

   x+=2

___________________________

Answered by maghaananthi
2

Answer:

for(x=2; x+=2;x<15)

Similar questions