Subject Totals and the Topper
MediumRead a count and that many student records, each a roll number followed by marks in three subjects held in an array member. Print every record's total, then report the record with the highest total. Track the best index while scanning so the full record is available at the end. First occurrence wins ties.
Success Criteria
Your code must pass 3 test case(s) to complete this exercise. 4 hint(s) are available if you need help.
How did you find this exercise?
Your rating helps us improve the content.
Sign in to track your progress
You can work on exercises as a guest, but sign in to track your progress and save your submissions.