import java.util.Scanner;
public class Program_3 {
public static void main(String[] args) {
int number1,number2,result;
Scanner scan = new Scanner(System.in);
number1 = scan.nextInt();
number2 = scan.nextInt();
result = number1 + number2;
System.out.println("Sum of two number : "+result);
}
}
Tuesday, 21 July 2015
Write a program to enter two numbers and perform mathematical operations on them.
Labels:
Java
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment