+ 5
How to print the sum of two variable?
12 Antworten
+ 20
int a = 1;
int b = 2;
System.out.println(a+b);
+ 17
why would you ask such a question ? 😵 Somdeep Gupta
+ 13
Use '+' operator
+ 3
Int a=12
Int b=15
Int sum a+b;
Cout<<sum;
+ 3
int a= 4;
int b= 5;
cout<<a+b<<endl;
+ 1
Using this"+"operator
+ 1
Sum=var1+var2;
And then print sum using any language syntax...
+ 1
System.out.println(a+b);
initialize and assign a and b with some integers
0
Can javascript be use to build Andriod game with out adding any other programming language
0
int a = 1;
int b = 1;
int sum;
sum = a + b;
System.out.print(sum);
0
int a=2, b=3, sum=a+b;
System.out.println(sum);
0
num1 = 2
num2 = 3
result = float(num1) + float(num2)
print(result)