+ 1
To declare an Integer?
So to declare an Integer, I must do what?
2 Respuestas
+ 2
Write int to identify the variable's datatype, then the name you wish to use to identify the variable. For example:
int myVariable = 10;
See Basic Concepts : Variables in the SoloLearn C++ course [https://www.sololearn.com/Play/CPlusPlus] for more information.
0
int variable-name = value