What is the difference between a whole number and an integer?
An integer is a number with no decimal or fractional part, from the set of negative and positive numbers, including zero.
Whole numbers include natural numbers (that begin from 1 onwards), along with 0.
Answer: Whole number starts from 0 to infinite whereas integer is a whole number that can be positive as well as negative or zero.
Let's understand the difference between a whole number and an integer.
Integers include negative numbers, zero and positive numbers
e.g. -3, -2, -1, 0, 1, 2, 3
Whole numbers only include zero and positive numbers
e.g. 0, 1, 2, 3, 4, 5