/* PROCEDURE */
SET SERVEROUTPUT ON;
DECLARE
A NUMBER;
B NUMBER;
SUM NUMBER:=0;
PROCEDURE ADDD(X IN NUMBER,Y IN NUMBER,SUM OUT NUMBER) AS
BEGIN
SUM:=X+Y;
END;
BEGIN
A:=12;
B:=54;
ADDD(A,B,SUM);
DBMS_OUTPUT.PUT_LINE(SUM);
END;
/