+ 1
what is integers related to myvariables?
i changed int myVariables = 10; cout << myVariables; to int only = 10; cout << only; it still run... why we used myVariables if it can still run with other character?
1 Odpowiedź
+ 3
A variable is a placeholder for a value.
You could name it "abcdefg" or "SoloLearnIs Cool" and it would still work.
The courses use myVariables so it can be easier to understand.
If you used a variable named "age" for someone's name it wouldn't make sense now would it?