Friday, May 26, 2017

Addition of Three Numbers Using Oracle PL/SQL

Here is a very simple program that I wrote using PL/SQL in Oracle to compute the sum of three numbers. The code is very short and very easy the syntax is very similar to Pascal programming language.  I hope you will find my work useful thank you.

My email address are the following jakerpomperada@gmail.com and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.






Sample Program Output


Program Listing

declare
a number:=&a;
b number:=&b;
c number:=&c;
sum_total number;
begin
sum_total:=(a+b+c);
dbms_output.put_line('The total sum is '||sum_total ||'.');
end;
/


No comments:

Post a Comment