What is a constant?

In programming, a constant is a value that never changes. The other type of values that programs use is variables, symbols that can represent different values throughout the course of a program.

A constant can be a number, like 50 or 3.6, a character, like ‘a’ or ‘$’ or a character string like “MakerClub loves strings”. 

Constants are also used in spreadsheet applications to place non-changing values in cells.

Join The Maker Movement