+ 1
How can I enter more than one "int" statement?
Is it possible to have more than one int statement in a code and if so how do I name them?
3 ответов
+ 1
you can have as many as you need
you can also use one int for several variables
+ 1
int a,b,c;
a=1
b=2
c= 3
int a=1,b=2,c=3;
int a,b,c = 0; <---declare and init all to 0 or any number you want but all will be the same.
+ 1
Thanks Dominique and Emmey ☁️☃️