int a =7;
int b=11;
System.out.println(“Sum=”(a+b);
System.out.println(“Sum”=+a+);
Share
int a =7;
int b=11;
System.out.println(“Sum=”(a+b);
System.out.println(“Sum”=+a+);
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Verified answer
Explanation:
Write a Java program to print the sum of two numbers.
In mathematics, summation (capital Greek sigma symbol: ∑) is the addition of a sequence of numbers; the result is their sum or total. The numbers to be summed may be integers, rational numbers, real numbers, or complex numbers.
Pictorial Presentation:
6 balls
+ 7balls
= 13 balls