Programming in C, or any programming language, means building comparisons — greater and lesser than and equal to in various combinations. Get to know the comparisons C uses and their opposites:
| If Comparision | Else Statement Executed By | This Condition |
|---|---|---|
| < | >= | Greater than or equal to |
| == | != | Not equal to |
| > | <= | Less than or equal to |
| <= | > | Greater than |
| >= | < | Less than |
| != | == | Equal to |
dummies
Source:http://www.dummies.com/how-to/content/c-language-comparisons-and-their-opposites0.html
No comments:
Post a Comment