A variable is a location in memory used by a program to store data. It is given a name to identify it to the user and to the program. Variables are used to store data needed for programs to run. For ...