What is a variable in programming example?

Variables are the names you give to computer memory locations which are used to store values in a computer program. For example, assume you want to store two values 10 and 20 in your program and at a later stage, you want to use these two values.

For More Information Please Refer: https://www.tutorialspoint.com/computer_programming/computer_programming_variables.htm