while loop
Loops are used to perform the same set of statements multiple times. The while loop runs the statement until a condition is no longer met.
while condition
   blockWhile
end
      while a>1           
      a=a/2
endLoops are used to perform the same set of statements multiple times. The while loop runs the statement until a condition is no longer met.
while condition
   blockWhile
end
      while a>1           
      a=a/2
end