+ 1

What?

I didn't understand that.

12th Sep 2017, 7:24 PM
FernoHD
FernoHD - avatar
7 Answers
+ 2
well a variable is like a box that you can store data of a certain type in. so maybe you want to store the integer of 18 or the string of "hello". you can name the box and use it later on to talk about what you have in your box or even change it. e.g. x = 10 y = 5 z = x + y
12th Sep 2017, 7:33 PM
Enzo
Enzo - avatar
+ 11
In C++ variable is used to store data in memory location, which can be modified or used in program during program execution.
12th Sep 2017, 7:32 PM
Ranjan Bagri
Ranjan Bagri - avatar
+ 2
if you mean the 10 and 5 then i need to explain it better. x would be the name of a variable and the equal sign means you want to put something into the variable so = 10 means i want to place the number 10 into the box (variable). I'm not sure how else to explain it, its best if you try using them yourself until you understand, just make sure your using the right syntax as its slightly different for different languages.
12th Sep 2017, 7:41 PM
Enzo
Enzo - avatar
+ 1
okay thank you🖒what are the numbers after these variables?
12th Sep 2017, 7:34 PM
FernoHD
FernoHD - avatar
0
You could write a better description of what you didnt understand
12th Sep 2017, 7:27 PM
Enzo
Enzo - avatar
0
all in variables
12th Sep 2017, 7:27 PM
FernoHD
FernoHD - avatar
0
okay
12th Sep 2017, 7:51 PM
FernoHD
FernoHD - avatar