Geography, asked by dharanidj13, 3 months ago

write a pl sql program to print and sum of 10 numbers​

Answers

Answered by Anonymous
7

Answer:

\huge \fcolorbox{red}{pink}{answer}

SQL> set serveroutput on SQL> declare 2 i integer; 3 s integer; 4 begin 5 s:=0; 6 for i in 1.. 10 loop 7 s:=s+i; 8 end loop; 9 dbms_output. put_line('Sum = '||s); 10 end; 11 / Sum = 55 PL/SQL procedure successfully completed.

Similar questions