import java.util.Scanner;
class Addition
{
public static void main(String[] args)
{
int a, b, c=0;
Scanner s=new Scanner(System.in);
System.out.println("Enter any two numbers :");
a=s.nextInt();
b=s.nextInt();
c=a+b;
System.out.println("Sum: "+c);
}
}
SOURCE CODE: :
OUTPUT ::
need an explanation for this answer? contact us directly to get an explanation for this answer