Ticker

6/recent/ticker-posts

PL/SQL Program to Print Half Pyramid Using Numbers-Javainhand Tutorial

In this PL/SQL Tutorial, We will explore how to Print Half Pyramid Using Numbers in PL/SQL.

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.

Post a Comment

0 Comments