0

Fill in the blanks to print the sum of the two variable. Int x=2; y=4; int results=x_ _; system.out.printin(______)

3rd Apr 2018, 10:36 AM
taba zirdo
taba zirdo - avatar
10 Answers
+ 4
results =x+y println(results)
12th Apr 2018, 5:58 PM
Ashi Soni
Ashi Soni - avatar
+ 2
results=x+y; *println(print line) not print in
3rd Apr 2018, 10:37 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 2
int x=2, y=4; results=x+y; system.out.println(results)
14th May 2018, 6:23 PM
Azizbek Hamidov
Azizbek Hamidov - avatar
+ 1
result=x+y ; System.out.println(result);
17th Apr 2018, 10:42 AM
Aman Soni
Aman Soni - avatar
+ 1
result = x + y; printin(result)
1st May 2018, 5:43 PM
gita ang
gita ang - avatar
0
+ y println(results) (you had a little typo, Taba)
3rd Apr 2018, 11:06 AM
Phil Grossman
Phil Grossman - avatar
0
int x=2,y=4, results; results=x+y; System.out.print(results);
3rd Apr 2018, 11:47 AM
SatyaJit Pradhan
SatyaJit Pradhan - avatar
0
results=x+y; printin (result)
11th Apr 2018, 11:38 PM
syncere
0
but your code is incorrect because Correct is System.out.println(); not system and printin()
17th Apr 2018, 10:48 AM
Aman Soni
Aman Soni - avatar
0
int results=x+y; System.out.println("The result is" x+y)
1st May 2018, 11:59 AM
KASA
KASA - avatar