title: How do I make alert print over 50, under 50 (if statement)?
body: <pre><code>function randomise(){
      var ran_number=Math.floor(Math.random() * 100);
      return ran_number;
      return(ran_number);
  }
  </code></pre>
  
  <p>I would like an if statement to be something like below. </p>
  
  <pre><code>alert(randomise + "You scored over 50, You win");
  alert(randomise + "You scored under 50, You lose");
  </code></pre>
  
  <p>How can I do that?</p>