Computer Science, asked by shubhamyadav12123434, 5 months ago

WAP to input three numbers and print the average of the largest two numbers in java​

Answers

Answered by SajanJeevika
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