In the above examples we see how to define both variables and constants along with giving them an initial value. Memory constants must be assigned a value when they are defined. But variables do not have to be assigned initial values.
int height; float value coins; Variables once defined may be assigned a value within the instructions of the program. height = 72; value coins = 2 * 0.25 + 3 * 0.05;