Whats the answer to the sum of int x=2 y=4 question in primitive operators section | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whats the answer to the sum of int x=2 y=4 question in primitive operators section

8th Aug 2018, 5:24 AM
Joseph Rolin
Joseph Rolin - avatar
5 Answers
+ 15
If ur answer gets wrong in modules u can check comments for hints, explanation and most probably u will find direct answer... or u can post the question itself here...
8th Aug 2018, 5:32 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 5
This is very simple but the value on the right-hand side is assigned to the variable meaning x holds the value if 2 and y holds the value of 4 adding both of these variables together x+y gives you 6
8th Aug 2018, 9:04 AM
D_Stark
D_Stark - avatar
0
i got it, thanks everybody :) , the comments are useful
11th Aug 2018, 7:01 PM
Joseph Rolin
Joseph Rolin - avatar
0
yeah it is simple lol, i feel silly
11th Aug 2018, 7:02 PM
Joseph Rolin
Joseph Rolin - avatar
0
so simple, that they didnt like what i was putting, i was overthinking it
11th Aug 2018, 7:05 PM
Joseph Rolin
Joseph Rolin - avatar