Inequalities and others

This is a discussion on Inequalities and others within the C Programming forums, part of the General Programming Boards category; Hi, ia m looking for soem basic help; is there any way to combine an inequality if statement (ie instead ...

  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
    a_capitalist_story
    Join Date
    Dec 2007
    Posts
    2,652
    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, 05: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, 11:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21