PL/SQL is one of three key programming languages which is only available with the Oracle Database. PL/SQL is a relational database. Copy the below PL/SQL program and execute it. In this program, we are going to share how to multiply two numbers in PL/SQL with the output.
Copy the below program and execute it to see the program analytics.
num number := 6;
fact number := 1;
while( temp>0 )
fact := fact*temp;
temp := temp-1;
dbms_output.put_line('factorial of '|| num || ' is ' || fact);
factorial of 5 is: 120
Editorial Staff at FreeWebMentor is a team of professional developers leads by Prem Tiwari View all posts by Editorial Staff