+ 2
What is int x = 1, function in the program.
while loop program
2 Answers
+ 1
That sets the variable x to 1.
+ 4
Hello, martins micheal !
"int" is an integer variable which at you it has the name "x" and is equal in this case "1"
You need to learn more lessons with variables, you can do it on SoloLearn.
https://www.sololearn.com/learn/Java/2139/