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.
Integers include negative numbers, positive numbers, and zero.
example, -3, -2, -1, 0, 1, 2, 3
Whole numbers include only zero and positive numbers.
example, 0, 1, 2, 3, 4, 5