What is a variable in programming?

1.55K views

What is a variable in programming?

In: Other

11 Answers

Anonymous 0 Comments

I struggled with this when I started learning programming as well.

A Variable is something in your program that can be changed, like the score in a game, or the amount of money in a bank account.

So you create a variable by writing a name that represents the thing that’s going to be changeable, like SCORE.

SCORE is the name of a variable.

If this is still confusing, DM me and I can talk you through it. Once you get it, it makes sense, but until then it’s just abstract and more confusing that it really needs to be.

You are viewing 1 out of 11 answers, click here to view all answers.