In this program, we will take input from users and find the square of the number in the PL/SQL program.
declare
x integer;
begin
x:=&x;
dbms_output.put_line('square of number: '||(x*x));
end;
/
Enter value for x: 4 old 4: x:=&x; new 4: x:=4; square of number: 16