plz tell me how to find first 3 largest element in array in c++ plz answer me and
answer should not difficult because i am new in programming plz help me God bless you
The obvious solution would be to have 3 variables to store largest values.
Looping through each element and assigning the new values as they are found.