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.

my logic is when we want to find 1st 2nd and 3rd position in student array it will equal to find first 3 largest number in array 1st large number is 1st position 2nd large number is 2nd number similarly 3rd large number is 3rd position now problem is that when 1st large and 2nd large or 3rd large number is equal then it is not showing correct result. i hope you understand.

thank you very very very much you are amazing and difference is only <= and >= now problem is if marks is if marks are 90,90,80,80,70,70 now what is result??????

I would like to ask how can I adjust array.csv like this:
,,,-00.000146400000, 0.08000,
,,,-00.000146200000, 0.00000,
,,,-00.000146000000, 0.00000,
,,,-00.000145800000, 0.00000,

so I can have in first column -00.000146400000 ...

I have an assignment to output contents from a .txt file to html. I'm able to output the information from the .txt to the console but how would I output ...