The following procedure finds the highest marks in Mathematics scored by a “male” student and a “female” student from the “Scores” dataset. But the programmer may have made mistakes in one or more steps. Identify all such steps (if any). It is a Multiple Select Question (MSQ).
Attachments:
Answers
Answered by
14
step 2
Maintain three variables Mmax, Fmax, max
Answered by
17
Answer:
Step 5 & step 6
Step-by-step explanation:
As Fmax was initialized to zero condition should be Fmax< mathematics marks. Only then the maximum marks will be updated
Similar questions