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
Science,
4 months ago
English,
4 months ago
Computer Science,
4 months ago
Math,
9 months ago
Math,
9 months ago
World Languages,
1 year ago