Make a Java program..
Answers
Answered by
5
public class AddTwoIntegers {
public static void main(String[] args) {
int first = 10;
int second = 20;
System.out.println("Enter two numbers: " + first + " " + second);
int sum = first + second;
System.out.println("The sum is: " + sum);
}
}
Output:
Enter two numbers: 10 20
The sum is: 30
last time my answer was deleted by @student007..(个_个) soo I wrote it again.... hope it helps you (╥﹏╥)
Similar questions