0

Can someone tell me what is that answer exactly please🙏. Int x=2 ; int y= 4 ; int result x = _ _ ; systeme.out.printhl ( )

4th Aug 2019, 2:38 AM
Gaben_ley BIEN-AIME
Gaben_ley BIEN-AIME - avatar
10 Réponses
+ 10
so many syntax errors here: int(not Int), System(not systeme), println(not printl), and there is nothing like "int result x=_ _;" it probably will be "int result = x _ _;" now considering "int result = x _ _;" : at first _ there might be some operation like -, +, *, /, ^, & etc, and at second _ there might be y OR at both _ _ there can be - - or ++. these are just rough guesses, please correct the question to get more clear answer.
4th Aug 2019, 3:21 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 9
int result=x+y; System.out.println(result); Gabenley BIEN-AIME you should go through java lesson again for basic syntax https://www.sololearn.com/Course/Java/?ref=app good luck
4th Aug 2019, 3:43 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 7
Gabenley BIEN-AIME As in my above answer I told many solutions are possible & without knowing what this program do, what exactly you want to print it is hard to predict the exact solution
4th Aug 2019, 3:30 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
Fill in the blanks to print the sum of the two variables? int x=2, int y=4 int result =x__ __ system. Out.printin(__________);
4th Aug 2019, 3:40 AM
Gaben_ley BIEN-AIME
Gaben_ley BIEN-AIME - avatar
0
Gabenley BIEN-AIME again there is syntax error it would be better if u code it in the playground and link it to the thread so we can get what's wrong
4th Aug 2019, 3:32 AM
Ayush Pandey
Ayush Pandey - avatar
0
Ur quetion is vague completely
4th Aug 2019, 3:32 AM
Ayush Pandey
Ayush Pandey - avatar
0
Are u kidding me int result x+y; System.out.println(result); It was sort of a joke nd u should look for the syntax properly go for the java tutorial here at sololearn
4th Aug 2019, 3:42 AM
Ayush Pandey
Ayush Pandey - avatar
0
Gaurav Agrawal make it mfd
4th Aug 2019, 3:44 AM
Ayush Pandey
Ayush Pandey - avatar
0
Gaurav Agrawal make it mfd
4th Aug 2019, 3:44 AM
Ayush Pandey
Ayush Pandey - avatar
- 1
thanks, this is the question : int x=2, int y=4 int result =x__ __ system. Out.printin(__________);
4th Aug 2019, 3:26 AM
Gaben_ley BIEN-AIME
Gaben_ley BIEN-AIME - avatar