squareof_number
Sat Jun 08 2024 02:05:08 GMT+0000 (Coordinated Universal Time)
Saved by
@signup
CREATE OR REPLACE Procedure cs(num IN NUMBER,result OUT NUMBER) IS
BEGIN
result := num * num;
END cs;
/
DECLARE
input_number NUMBER := 5;
output_result NUMBER;
BEGIN
cs(input_number, output_result);
DBMS_OUTPUT.PUT_LINE('Square of ' || input_number || ': ' || output_result);
END;
/
content_copyCOPY
Comments