Sorting algorithm
សម្ព័ន្ធភាព៖ Phuong Hoangដំណោះស្រាយ៖ Individual, Group
រយៈពេល៖ តិចជាងមួយម៉ោង
ទិដ្ឋភាពទូទៅ
គោលដៅ
Use sorting algorithms to solve a problem
វត្ថុបំណងការសិក្សា
- Understand sorting algorithm - Be able to apply sorting algorithm to sort a given set of data
បរិបទ
Given a list of N students including student’s name and student’s mark (an integer in the range 0..10). We want to find M students who has the highest marks. Please write a Java program to solve this problem. Your programshould: Ask user to input n, list of student including name and mark. Ask user to input an integer m Show the name of m students who has the highest mark.
ចុះផ្សាយ
វិស្វករកុំព្យូទ័រ