In this PL/SQL Tutorial, We will explore how to print inverted right triangle start pattern in PL/SQL.
PL/SQL Code:-declare
v_number number:=5;
begin
for i in 1..v_number
loop
for j in 1..v_number-i+1
loop
dbms_output.put('*');
end loop;
DBMS_OUTPUT.NEW_LINE;
end loop;
end;
That's all for today, I think(Print the Inverted Right Triangle Star Pattern 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