title: check Equal and Not Equal conditons for double values
body: <p>I am facing difficulty in comparing two <code>double values</code> using <code>==</code> and <code>!=</code>.</p>
  
  <p>I have created 6 double variables and trying to compare in <code>If</code> condition.</p>
  
  <pre><code>double a,b,c,d,e,f;
  
  if((a==b||c==d||e==f))
  {
  //My code here in case of true condition
  }
  else if ((a!=b||c!=d||e!=f))
  {
  //My code here in case false condition
  }
  </code></pre>
  
  <p>Though my condition is <code>a and b are equal</code> control is going to <code>else if</code> part</p>
  
  <p>So I have tried <code>a.equals(b)</code> for equal condition, Which is working fine for me.</p>
  
  <p>My query here is how can I check <code>a not equal b</code>. I have searched the web but I found only to use <code>!=</code> but somehow this is not working for me.</p>