Write a PL/SQL code to print tables of all even numbers up to 10.
Answers
Answered by
1
declare
n number;
i number;
begin
n:=&n;
for i in 1..10
loop
dbms_output.put_line(n||' x '||i||' = '||n*i);
end loop;
end;
/
Hope it helps You
Similar questions
Math,
3 months ago
Math,
3 months ago
Social Sciences,
3 months ago
Physics,
6 months ago
Math,
11 months ago