Write a program in PL/SQL to print 1st n numbers.
PL/SQL Code:
DECLARE n number:= &first_n_number; BEGIN DBMS_OUTPUT.PUT_LINE ('The first '||n||' numbers are: '); for i in 1..n loop dbms_output.put(i||' '); END LOOP; dbms_output.new_line; END; /
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
PL/SQL Code: