title: PLS-00103: Encountered the symbol ";" when expecting one of the following:
body: <p>what is wrong in my code </p>
  
  <pre><code>    SQL&gt; declare
    2  mark number :=50;
    3  begin
    4  mark :=&amp; mark;
    5  if (mark between 85 and 100)
    6  then
    7  dbms_output.put_line('mark is A ');
    8  else if (mark between 50 and 65) then
    9  dbms_output.put_line('mark is D ');
   10  else if (mark between 66 and 75) then
   11  dbms_output.put_line('mark is C ');
   12  else if (mark between 76 and 84) then
   13  dbms_output.put_line('mark is B');
   14  else 
   15  dbms_output.put_line('mark is F');
   16  end if;
   17  end;
   18  /
  Enter value for mark: 65
  old   4: mark :=&amp; mark;
  new   4: mark :=65;
  end;
     *
  </code></pre>
  
  <blockquote>
    <p>ERROR at line 17:
        ORA-06550: line 17, column 4:
        PLS-00103: Encountered the symbol ";" when expecting one of the following:
        if</p>
  </blockquote>