AddThis Social Bookmark Button

This is an iteration condition. Enter a number from Key board. If it is not zero print 'natural number', else print 'enter wrong number'

Declare
NUM number:=&N;
begin
if(NUM>0)
dbms_output.put_line (NUM||'Natural Number');
else
dbms_output.put_line (NUM||'Wrong Number');
exit when NUM1=100;
end if;
end;