+ 5

How to print the sum of two variable?

15th Jun 2019, 2:19 PM
Somdeep Gupta
Somdeep Gupta - avatar
12 Answers
+ 20
int a = 1; int b = 2; System.out.println(a+b);
15th Jun 2019, 3:59 PM
Sumit Programmer😎😎
Sumit Programmer😎😎 - avatar
+ 17
why would you ask such a question ? đŸ˜” Somdeep Gupta
15th Jun 2019, 4:21 PM
Night_fury~
Night_fury~ - avatar
+ 13
Use '+' operator
15th Jun 2019, 2:20 PM
Nandini
+ 3
Int a=12 Int b=15 Int sum a+b; Cout<<sum;
16th Jun 2019, 3:04 PM
Nadira Khatun
Nadira Khatun - avatar
+ 3
int a= 4; int b= 5; cout<<a+b<<endl;
27th Jun 2019, 2:32 PM
Kamalishree A
Kamalishree A - avatar
+ 1
Using this"+"operator
16th Jun 2019, 9:50 AM
Nandam Govardhan Govardhan
Nandam Govardhan Govardhan - avatar
+ 1
Sum=var1+var2; And then print sum using any language syntax...
21st Jun 2019, 7:15 AM
Dedseć
Dedseć - avatar
+ 1
System.out.println(a+b); initialize and assign a and b with some integers
1st Jul 2019, 6:06 AM
sunnu
0
Can javascript be use to build Andriod game with out adding any other programming language
18th Jun 2019, 9:22 PM
Julius Amaluzor
Julius Amaluzor - avatar
0
int a = 1; int b = 1; int sum; sum = a + b; System.out.print(sum);
18th Jun 2019, 11:43 PM
Ka Cheong
Ka Cheong - avatar
0
int a=2, b=3, sum=a+b; System.out.println(sum);
19th Jun 2019, 2:34 PM
Abdullah Iqbal
Abdullah Iqbal - avatar
0
num1 = 2 num2 = 3 result = float(num1) + float(num2) print(result)
19th Jun 2019, 3:30 PM
Bryan Dela Cruz