Fill in the blanks to print the sum of two variables. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 16

Fill in the blanks to print the sum of two variables.

4th Jan 2017, 3:28 AM
sachin
sachin - avatar
16 Answers
+ 26
/* Show me the blanks :/ */
4th Jan 2017, 5:52 AM
Frost
Frost - avatar
+ 3
Ans is (+)
1st May 2020, 6:23 PM
Yogesh Kumar Yadav
Yogesh Kumar Yadav - avatar
+ 2
sum +
7th Mar 2021, 11:01 AM
Junaid Ul Islam
Junaid Ul Islam - avatar
+ 2
sum = a + b
14th Apr 2021, 4:04 PM
MARIO DAVID QUINONES CUERVO
MARIO DAVID QUINONES CUERVO - avatar
+ 1
What is the value of x after a B object is created?
11th Jun 2020, 1:05 AM
Reethwan Rasheed
Reethwan Rasheed - avatar
+ 1
29th May 2021, 8:21 AM
اورد عبدالامير جاسم _المرحلة الثانية شعبة[ A]
اورد عبدالامير جاسم _المرحلة الثانية شعبة[ A] - avatar
0
Hdbbd
31st May 2020, 8:48 AM
Looliangers begain
Looliangers begain - avatar
0
int res=a+b
11th Mar 2022, 5:28 PM
Mubarak Ahamed
0
how to declare a variable sum equal to the sum of a and b:
7th Apr 2023, 11:02 AM
NSENGIYUMVA Shami
NSENGIYUMVA Shami - avatar
0
Fill in the blanks to declare a variable sum equal to the sum of a and b: int Type = a Type b;
3rd Aug 2023, 2:21 PM
ARTHIKA S 221CI007
ARTHIKA S 221CI007 - avatar
0
Fill in the blanks to create a valid program that declares two variables and outputs their sum. Program { public static void (String[] args) { int a = 8; int b = 4; System. .println(a b); } }
9th Oct 2023, 10:29 AM
Aditya Tripathi
Aditya Tripathi - avatar
0
public Program { public static void main (String[] args) { int a = 8; int b = 4; System. out .println(a b); } }
28th Nov 2023, 4:15 AM
PINJARI MUNTAJ BEGUM
PINJARI MUNTAJ BEGUM - avatar
- 1
Int result= x + y System.out.println(result)
18th Feb 2018, 7:24 PM
Cecilia White
Cecilia White - avatar
- 1
Fill in the blank to declare a variable sum equal to the sum of a and b: int____=a___b
10th Sep 2020, 7:34 AM
Daniela Villaceran
Daniela Villaceran - avatar
- 4
Sum equals a plus (+) so take either variable and put a + between to find the sum. Then tske that snd add the sum value to a result variable then display it
16th Jan 2017, 5:55 AM
Ethan
- 7
int x = 2; int y = 4; int result = x ; System.out.println( );
21st Sep 2017, 6:33 PM
Houssam Hammouda
Houssam Hammouda - avatar