ahmed salah

ahmed salah

  • 1.6k
  • 530
  • 122.9k

How get maximum 3 values of unsort array without max functio

Dec 6 2016 2:28 PM

Problem

I have unsorted array like that {5,0,2,6,7,3,8,9} and i need to get maximum three

value of unsorted array by using c# .

Meaning i need to get result 7,8,9 .

How to do that if possible without using max or any ready function by using console application ?


Answers (3)