Math, asked by ameirxoxo, 6 months ago

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 ajayraikvarji
14

step 2

Maintain three variables Mmax, Fmax, max

Answered by prasanaatchaya
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