import java.io.*;
import java.util.*;
class Addition
{
public static void main (String[ ]args)
{
int a,b, c;
Scanner sc= new Scanner(System.in);
System.out.println ("Enter a,b values");
a= sc.nextInt();
b= sc.nextInt();
c=a+b;
System.out.println ("The addition of two given integers is:"+" "+c);
}
}
No comments:
Post a Comment