Introduction
We use integers and floats to work with whole numbers and numbers with decimals in programs.
Counting items like apples or books (use integers).
Measuring weight or height that can have decimals (use floats).
Calculating prices with cents in shopping apps.
Doing math like adding, subtracting, or dividing numbers.
Storing age as whole years or temperature with decimals.