Hi,
I need to change this following code into Pl/sql.. can any one help me out?
for(m=1;m<=n-2;m++)
Regards,
Karthi.....
Printable View
Hi,
I need to change this following code into Pl/sql.. can any one help me out?
for(m=1;m<=n-2;m++)
Regards,
Karthi.....
the following a sample program for a FOR loop.
modify as per your rerquirment.
BEGIN
FOR I IN 1..100 LOOP
--if the number is divisible by 2 then it is a even number.
IF MOD(I,2)=0 THEN
--display the number.
dbms_output.put_line(I);
END IF;
END LOOP;
END;