title: IF statements program
body: <p>I'm having an issue. I have to write a program for my calculator but I'm not sure how to do it. It uses a form of QBASIC language.</p>
  <p>My statement is:</p>
  <pre><code>IF (y&gt;0 and x&gt;0) then it should calculate n:=ATAN(y/x);
  IF (y&lt;0 and x&lt;0) then it should calculate n:=ATAN(y/x)+180;
  IF (y&gt;0 and x&lt;0) then it should calculate n:=ATAN(y/x)+180;
  IF (y&lt;0 and x&gt;0) then it should calculate n:=ATAN(y/x)+360;
  </code></pre>
  <p>I think I could only use (IF, ELSE, THEN)</p>