+ 1
What?
I didn't understand that.
7 Respostas
+ 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
+ 11
In C++ variable is used to store data in memory location, which can be modified or used in program during program execution.
+ 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.
+ 1
okay thank you🖒what are the numbers after these variables?
0
You could write a better description of what you didnt understand
0
all in variables
0
okay