Declare X Number 10 Begin Loop Dbmsoutputputline X X X 10 X 50 Exit End End Loop Exit Cont Q37045354

DECLARE

   x number := 10;

BEGIN

   LOOP

     dbms_output.put_line(x);

      x := x + 10;

      IF x > 50THEN

        exit;

      END IF;

   END LOOP;

   — after exit, control resumeshere

   dbms_output.put_line(‘After Exit x is: ‘ ||x);

END;

/

NOTE: Can you provide the output screenshot of thefollowing code


Answer


Output:

AI 50 After Exit x is: 60

Output: AI 50 After Exit x is: 60

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.