Now, which of these variables store numbers?
Sweet! int
-type variables are whole numbers and double
-type variables can have decimal places. "815"
is a string and we can't assign numbers to strings.
Yikes! int
-type variables are whole numbers and double
-type variables can have decimal places. "815"
is a string and we can't assign numbers to strings.