title: How to show + and - sign in alert box in JavaScript
body: <p>There are three variables as follows</p>
  <pre><code>var a=1;
  var b=-2; 
  var c=4;
  </code></pre>
  <p>If I performed following options</p>
  <pre><code>var Res=a*b*c;
  </code></pre>
  <p>Or</p>
  <pre><code>var Res=a+b+c;
  </code></pre>
  <p>Then if result is a -ve value show - in alert box and if result is a +ve
  value show + in alert box</p>