Write a procedure and call it into main pl/sql program to find a factorial of a number.
1
Expert's answer
2021-11-05T17:28:17-0400
declare
n number;
factors number:= 1;
i number;
begin
n := &n;
for i in1..n
loop
factors :=factors *i;
endloop;
dbms_output.put_line('factorial='||factors);
end;
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments