import java.util.*;
public class ut
{
public static void main(String arg[])
{
Scanner s=new Scanner(System.in);
System.out.println("enterthe 1st no.=");
int a=s.nextInt();
System.out.println("enter the 2st no.=");
int b=s.nextInt();
int c=a+b;
System.out.println("enterthe 1st no.="+c);
}
}
No comments:
Post a Comment