![]() |
|
#1
|
|||
|
|||
How to find if a variable is between 2 numbersHi, how would you use "if" to find if variable A is between 40 and 100?
CPP / C++ / C Code:
|
|||
|
#2
|
|||
|
|||
Re: How to find if a variable is between 2 numbersYou'll need to apply the AND (&&) operator:
CPP / C++ / C Code:
|
|
#3
|
|||
|
|||
Re: How to find if a variable is between 2 numbersCOol thank you
|
Recent GIDBlog
Problems with the Navy (Enlisted) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Is there a way to find the size of variable length array inside a structure | Iamstupid | C Programming Language | 4 | 15-Oct-2007 11:23 |
| loop to find only odd numbers | Avalanche | C++ Forum | 3 | 05-Aug-2007 13:02 |
| Linear Search | eccoflame | C Programming Language | 3 | 19-Apr-2005 08:36 |
| Program that will find the first 4 perfect numbers????? | bicknell83 | C Programming Language | 3 | 30-Mar-2005 01:35 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The