WAP to input three numbers and print the average of the largest two numbers in java
Answers
Answered by
3
Java Program to Find the Biggest of 3 Numbers
public class Biggest_Number.
int x, y, z;
Scanner s = new Scanner(System.
System. out. print("Enter the first number:");
x = s. nextInt();
System. out. print("Enter the second number:");
y = s. nextInt();
System. out. print("Enter the third number:")
Similar questions