Write a program in java to find the second largest number among three number | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Write a program in java to find the second largest number among three number

you hava to make this program only using Math.min and Math.max

15th Feb 2017, 3:31 PM
sameer sahu
sameer sahu - avatar
3 Answers
+ 1
Ah, the classic "guy tries to get other people to do his homework" routine. It's a common scenario on this site; I've seen it a thousand times, and I've about lost my patience for it. Sorry, but I'm not doing your work until I see evidence that you've at least tried to find a solution.
15th Feb 2017, 5:31 PM
DaemonThread
DaemonThread - avatar
0
Make an if elif else function comparing the numbers using the requirements
15th Feb 2017, 4:15 PM
Marquise
Marquise  - avatar
0
sean curry you dont have the right to say anyboby anything.i have treid a lot then i posted this question.how can you say without evidence. if you dont know the answer leave it its ok.
16th Feb 2017, 1:14 PM
sameer sahu
sameer sahu - avatar