How to print the highest mark of a student among 30 students in a particular subject using Java? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to print the highest mark of a student among 30 students in a particular subject using Java?

9th May 2020, 6:37 AM
Ramya T
2 Respostas
+ 1
Store the marks of 30 students in an array and find the greatest element of array.
9th May 2020, 6:38 AM
Souptik Nath
Souptik Nath - avatar
0
Collections has predefined sort method. So you can use it, just store in collection, and sort it..
9th May 2020, 8:31 AM
Jayakrishna šŸ‡®šŸ‡³