Computer Science, asked by angmotanzin01, 4 months ago

Write a program in PL/SQL to print series 2,4,6,8,10 using basic loop ?

Answers

Answered by peeyush321kumar
0

declare  

x number := 0;  

begin  

for x in 2..10 loop  

if mod(x,2)=0 then  

dbms_output.put_line ( x);  

end if;  

 

end loop;  

end;

Similar questions