plsql
Pages
Home
Web Development
c programming
java programming
minor projects
Python Programming
Friday, 25 March 2016
write a program prints the multiplication table for any number, the number and the limit should be given as input.
declare
n number(5);
i number(2);
m number(5);
limit number(5);
begin
i:=1;
n:=&n;
limit:=&l;
dbms_output.put_line('Multiplication table for '|| n);
for i in 1..limit
loop
m:=n*i;
dbms_output.put_line(n||'*'||i||'='||m);
end loop;
end;
No comments:
Post a Comment
Newer Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment