declare
x number(5);
y number(5);
Add number(7);
Sub number(7) ;
Multi number(7) ;
Div number(7) ;
begin
x:=10;
y:=20;
Add:=x+y;
Sub:= x-y;
Multi:= x*y;
Div:=x/y;
dbms_output.put_line('Sum is '||Add);
dbms_output.put_line('sub is '||Sub);
dbms_output.put_line('multi is '||Multi);
dbms_output.put_line('div is '||Div);
end;
|