0

Please solve this...

this is in java... and i know ans is "6"... but i no know how to fill six blanks, i mein six gap how to i fill??? int x = 2; int y = 4; int result = x + y; System.out.println(_ _ _ _ _ _) (_ _ _ _ _ _) this six gap.

17th May 2018, 12:40 PM
ali
6 odpowiedzi
+ 3
_____________________ public class Program { public static void main (String[] args) { int x = 2; int y = 4; int result = x + y; System.out.println (result); // outputs: 6 } } _____________________ that shouldn't be hard to understand.
17th May 2018, 1:56 PM
Moses Katsina
Moses Katsina - avatar
+ 7
system.out.printIn(result); just recognise this a question on java cource.. if you stuck any question on progress of course you can click comment option and u have some help.
17th May 2018, 1:40 PM
Scooby
Scooby - avatar
+ 4
as x=2 and y=4 and x+y=2+4=6 and result=6
17th May 2018, 12:53 PM
Scooby
Scooby - avatar
+ 2
thanks #Scooby... many many thanks...
17th May 2018, 1:57 PM
ali
+ 1
the result will be 6 as you are adding two variable .
17th May 2018, 12:58 PM
🦋FEATHER🦋
🦋FEATHER🦋 - avatar
+ 1
Please solve this... this is in java... and i know ans is "6"... but i no know how to fill six blanks, i mein six gap how to i fill??? int x = 2; int y = 4; int result = x + y; System.out.println(_ _ _ _ _ _) (_ _ _ _ _ _) this six gap.
17th May 2018, 1:35 PM
ali