0
Fill in the blanks to print the sum of the two variable. Int x=2; y=4; int results=x_ _; system.out.printin(______)
11 Antworten
+ 4
results =x+y
println(results)
+ 2
results=x+y;
*println(print line) not print in
+ 2
int x=2, y=4;
results=x+y;
system.out.println(results)
+ 1
result=x+y ;
System.out.println(result);
+ 1
result = x + y;
printin(result)
0
+ y
println(results)
(you had a little typo, Taba)
0
int x=2,y=4, results;
results=x+y;
System.out.print(results);
0
results=x+y; printin (result)
0
but your code is incorrect because Correct is System.out.println(); not system and printin()
0
int results=x+y;
System.out.println("The result is" x+y)