JAVA (22BCE10522) Aditya Vikram Singh
JAVA (22BCE10522) Aditya Vikram Singh
1. Write a program that prompts the user for two integers and then displays
the
sum, the difference, the product, the average, the absolute value of the
difference, the larger of the two, and the smaller of the two.
ANS)
import java.util.Scanner;
import java.util.Scanner;