Arithmetic/Working With Integers

< Arithmetic

There are a number of ways to compare two arithmetic expressions. The first one can either be:

Examples:

5>2 (reads: "Five is greater than Two")
2<5 (reads: "Two is less than Five")
7=7 (reads: "Seven is equal to Seven")
a ≥ b (reads: "A is greater than or equal to B". This means A could be equal to B or greater than B.)
a ≤ b (reads: "A is less than or equal to B". This means A could be equal to B or less than B.)
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.