0

I'm stuck on fill in the blanks to print the sum of two variables in Javascript.

The question is in JavaScript basic concepts. I don't know what to write on the System.out.println part

23rd Feb 2018, 7:09 AM
<You'reReadingThis>
3 Respuestas
+ 2
int result = x+y; System.out.println (result); It is saying result = 2+ 4 , which is 6 so now result has the value of 6 and now print result. So it should output 6 to the console. P.S This is Java, Javascript is a little different, though the same logic would apply but with different declarations and print methods.
23rd Feb 2018, 9:23 AM
Tarantino
Tarantino - avatar
+ 1
can you post the question?
23rd Feb 2018, 7:10 AM
Obbu
Obbu - avatar
0
int x=2; int y=4; int result= x _ _; System.out.println (__) it's a fill in the blanks question
23rd Feb 2018, 7:27 AM
<You'reReadingThis>