Advertisement
Shailrshah

Printing Even Numbers from 1 to 100

Oct 27th, 2013
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.12 KB | None | 0 0
  1. DECLARE
  2.   i NUMBER(3):=2;
  3. BEGIN
  4.   WHILE i < 100 LOOP
  5.     DBMS_OUTPUT.put_line(i);
  6.     i:=i+2;
  7.   END LOOP;
  8. END;
  9. /
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement