Easy
Two Objects, One Class
Write
class Student with a name and a mark. Read two students (name and mark on one line each) and print the name of the one with the higher mark (the first on a tie).Input
Two lines: name mark.
Output
One line.
Sample 1
Input
Mim 80 Rafi 70
Output
Mim
Sample 2
Input
Mim 60 Rafi 90
Output
Rafi
Output appears here