Int x = 2; int y = 4; int result = x + y; system.out.printIn( ); | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 5

Int x = 2; int y = 4; int result = x + y; system.out.printIn( );

Fill in the blanks to print the sumof the two variables.

3rd Dec 2020, 7:54 AM
Titus Njoroge
Titus Njoroge - avatar
3 Answers
+ 10
Titus Njoroge Kindly use discussion tab only for queries in coding and related to sololearn! Don't ask for readymade codes + don't ask homework questions! Follow our community guidelines - https://www.sololearn.com/Discuss/1316935/?ref=app Hope you understand 👍
3rd Dec 2020, 8:32 AM
Piyush
Piyush - avatar
+ 4
Titus Njoroge Pls read the lessons carefully ...This is the very easiest u can solve...Answer👇 System.out.println(result)
3rd Dec 2020, 7:57 AM
Alphin K Sajan
Alphin K Sajan - avatar
+ 1
"Fill in the blanks to print the sumof the two variables." Is it your homework ?Then I better suggest you not to post your homework here : https://www.sololearn.com/post/52212/?ref=app https://www.sololearn.com/Discuss/1316935/?ref=app
3rd Dec 2020, 8:13 AM
The future is now thanks to science
The future is now thanks to science - avatar