hy i have a problem in a Result programe of C++. I want to find 1st,2nd and 3rd position from any number of students. I already have a code to find first three largest element of array but problem is that 2 or 3 students marks can be equal but in this situation my programe is not working please help me.

moaz.amin.37 -12

Ancient Dragon 5,243

moaz.amin.37 -12

Ancient Dragon 5,243

moaz.amin.37 -12

Ancient Dragon 5,243

moaz.amin.37 -12

Ancient Dragon 5,243

moaz.amin.37 -12

Ancient Dragon 5,243