In this PL/SQL Tutorial, We will explore how to Print Half Pyramid Using Numbers in PL/SQL.
PL/SQL Code:-declare
v_number number:=5;
begin
for i in 1..v_number
loop
for j in 1..i
loop
dbms_output.put(j);
end loop;
DBMS_OUTPUT.NEW_LINE;
end loop;
end;That's all for today, I think(Print Half Pyramid Using Numbers in PL/SQL Program) post will be helpful for you. If you like the post then share your view in the comment box.
0 Comments
If you have any doubts, Please let me know