Another way of storing information is by using constants.

A constant is also a named memory location for storing information. However, during the life of that program, the information stored there will never change once the value has been set.

The purpose of a constant is to create an easy-to-use name for a value that you know will never change.

For example, the value of PI is approximately 3.1415927. Now, if you have a program that is doing calculations on circles, you don't want to keep typing in the long number every time. It's much easier to create a constant with the name of PI and store the number there. Then, you just use the word PI instead of typing the number.