Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 3
hw do i fill
Fill in the blanks to print the sum of the two variables. int x = 2; int y = 4; int result = x _ _; System.out.println();
3 Respostas
+ 2
The answer is:
int result = x + y;
The sum of the two variables will be an addition so you put ā+ā
Then we need the two variables which are āxā and āyā
Therefore the answer is x + y
0
the print statement should include result: System.out.println(result);
0
int result=x+y;
System.out.println(result);