Problem:
There are n students in a class. First you have to take input that total student number n. Then you need to take input their roll and respective CGPA.
Now, give output the roll of the student who has the highest CGPA.
Sample Input:
5
1 3.52
5 3.96
3 2.69
4 3.5
2 3.98
Output:
2
Answers
Answered by
0
Answer:
dorry i don't know the answer.
follow me
Click on thanks button
Similar questions