title: Show output before and then prompt for input in PL/SQL
body: <p>I want the user to enter output after the question displays but PL/SQL prompts for input as soon as I run the program.</p>
  
  <p>I use this code:</p>
  
  <pre><code>SET SERVEROUTPUT ON
  
  BEGIN
      DBMS_OUTPUT.PUT_LINE ( chr(10) || 'What is the capital of Srilanka?');
      DBMS_OUTPUT.PUT_LINE ('1.Colombo 2.Candy 3.Galle 4.Dhaka'|| chr(10));
      Ans1 Number := &amp;Ans1
  END;
  </code></pre>
  
  <p>Thanks in advance</p>