Thread: Inequalities and others

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    1

    Inequalities and others

    Hi,

    ia m looking for soem basic help; is there any way to combine an inequality if statement (ie instead of a greater than check followed by less than)?

    Thanks!

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Code:
    if (x != y) {
       /* do this */
    }
    ?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mathmatics Question?? Absolute Value and Inequalities
    By xddxogm3 in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 09-27-2004, 04:35 PM
  2. Mathmatics Question?? Powers and inequalities.
    By xddxogm3 in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 09-26-2004, 10:12 PM