Computer Science, asked by parshuramprasad2018, 10 months ago

WAP in Java to
both numbers
of
accept a no. and print largest
using tewinary Operatour ​

Answers

Answered by Anonymous
9

Explanation:

Java Program to Find Largest Between Three Numbers Using Ternary...

public class Largest_Ternary.

int a, b, c, d;

Scanner s = new Scanner(System.

System. out. println("Enter all three numbers:");

a = s. nextInt();

b = s. nextInt();

c = s. nextInt();

d = c > (a > b ? a : b) ? c : ((a > b) ? a : b);

Answered by Anonymous
0

Explanation:

Java developer and unordered list of print the largest-ever by using the operations of 1970. operators.

Similar questions