Computer Science, asked by pratyush191, 5 months ago

WAP to input three nos . and print the largest among them
Java program
Please send full program​

Answers

Answered by geniusboss59
0

Answer:

tttttttttttttttttttt

Answered by Debom
2

Answer:

public class Largest {

public static void main(String[] args) {

double n1 = -4.5, n2 = 3.9, n3 = 2.5;

if( n1 >= n2 && n1 >= n3)

System.out.println(n1 + " is the largest number.");

else if (n2 >= n1 && n2 >= n3)

System.out.println(n2 + " is the largest number.");

else

System.out.println(n3 + " is the largest number.");

}

}

Similar questions