Huh! Integers, or int
-type variables, only store whole numbers and doubles, and double
-type variables, allow us to use decimal places.
Psst: with std::endl
, we can add a line break in the console.
As we use int
for whole numbers, wouldn't we lose the decimal places of 9.12345
that way?