1 1 Amina Asked: October 19, 20212021-10-19T00:20:49+05:30 2021-10-19T00:20:49+05:30In: DBMS Write a program in PL/SQL to show the uses of nested loop. 1 1 Write a program in PL/SQL to show the uses of nested loop. nested loop Share Facebook 1 Answer Voted Oldest Recent Amina 2021-10-19T00:24:07+05:30Added an answer on October 19, 2021 at 12:24 am This answer was edited. DECLAREi number(3);j number(3);BEGINi := 2;LOOPj:= 2;LOOPexit WHEN ((mod(i, j) = 0) or (j = i));j := j +1;END LOOP;IF (j = i ) THENdbms_output.put_line(i || ' is prime ');END IF;i := i + 1;exit WHEN i = 40;END LOOP;END;/ Attachment Leave an answerCancel replyYou must login to add an answer. Username or email* Password* Remember Me! Forgot Password?
1 Answer