Introduction
Numbers help us count and measure things in programs. Integers (int) are whole numbers, and floats are numbers with decimals.
When you need to count items like apples or books (use int).
When you measure something like weight or height that can have decimals (use float).
When you want to do math like adding, subtracting, multiplying, or dividing numbers.
When you want to store and use numbers in your program for calculations.
When you want to convert between whole numbers and decimal numbers.