declare 
  i number;
begin
  i := 0;
  while i < 10 loop
    i := i + 1;
    dbms_output.put_line(i);
  end loop;
  
  i := 0;
  loop
    i := i + 1;
    dbms_output.put_line(i);
    exit when i >= 10;
  end loop;
  
  for c in 1..10 loop
    dbms_output.put_line(c);
  end loop;

end;