what this solve , int x= 2; int y=4; int result =x+y; system.out.println (.....) | SoloLearn: Learn to code for FREE!

-3

# what this solve , int x= 2; int y=4; int result =x+y; system.out.println (.....)

7/30/2016 12:57:20 AM

Ani Nuraeni

+3

system.out.println("your answer is = "+result); and you can also set other conditions depending on what you want

+2

int x= 2; int y=4; int result =x+y; system.out.println(result); if this is the answer the site wont take it as such?

+1

Its ok i was been stupid :) lol

0

thankyou friend

0

you are right

0

it is easy just add the integer values ans 6

0

as one of our friend is said

0

hihi i am just beginner

0

0

hi revi,

0

0

system. out. print ln("x+y");

0

do that

0

firstly your statement is wrong ..it is System not system ..this will show compilation error. so your correct answer will be "System.out.println("solution="+result);" so this will help you out.

0

where's the answer?? I answer it x+y in the int result Then what now in Syos?? pls help.

0

what can i write

0

¿Cuál es el resultado del siguiente código? int x = 15; int y = 4; int resultado = x / y; System.out.println (resultado);

0