You are on page 1of 1

package vcam;

import java.util.*;
public class Vcam {

public static void main(String[] args) {


Scanner sc=new Scanner(System.in);

int a;
int b;
System.out.println("Enter the first number");
a=sc.nextInt();
System.out.println("Enter the Second number");
b=sc.nextInt();
int c=a+b;
System.out.println("the sum of two numbers are"+c);
}

}
Enter the first number 67

Enter the second number 56

The sum of two numbers are 123

You might also like