write a java program to pick the largest 3 numbers using ternary operator
Answers
Answered by
1
hope it helps you
thank you for sharing your doubt
Attachments:
Answered by
0
Answer:
public class largest ternary
int a,b,c,d
scanner s= new scanner (system)
a=s. nextInt ()
b=s. nextInt ()
c=s. nextInt ()
d=c>(a>b?a:b)?c:(a>b)?a:b;
Similar questions
Math,
4 months ago
Social Sciences,
4 months ago
Math,
10 months ago
Math,
10 months ago
World Languages,
1 year ago