Java Program To Add Two Numbers
Input:
public class AddTwoIntegers {
public static void main(String[] args) {
int first = 15;
int second = 10;
int sum = first + second;
System.out.println("The sum is: " + sum);
}
}
Output:
Enter Two Numbers: 15...
Showing posts with label Java_Programming. Show all posts
Showing posts with label Java_Programming. Show all posts