Practice Assignment 2 - Q3

27 views
Skip to first unread message

Gopakumar K

unread,
Oct 15, 2020, 6:59:48 AM10/15/20
to Discussion forum for Computational Thinking
In the Practice assignment-2 Q3. The answer says there is no mistake
Have doubt in this; since there are 3 Students with the same marks in Physics which is 92. Don't we need a Second Condition for checking Equality between marks and Entering the DoBs of all?
Not sure this understanding is correct or not. Can anyone help clear this.

Thanks & Regards,


Skumar

unread,
Oct 15, 2020, 9:57:37 AM10/15/20
to Discussion forum for Computational Thinking, Gopakumar K
It will store the first occurrence of student and skip the rest.
So, there is no mistake. 
It is about finding physics topper 'student' and not 'students'.
Hope this helps.
Reply all
Reply to author
Forward
0 new messages