Q36.The procedure `countGirls` is executed using the "Scores" dataset and counts the number of girls who have got more than the subject-wise average marks in at least one of the three subjects. Assume that the subject-wise average marks for Physics, Chemistry and Mathematics are stored in variables `P`, `C` and `M` respectively. Choose the correct code fragment(s) to complete the procedure.
```
Procedure countGirls(P, C, M)
count = 0
while(Table 1 has more rows){
Read the first row X from Table 1
******** Fill the code ********
Move X to Table 2
}
return(count)
End countGirls
```
Save
Check
Details
Q36
16 Oct 2022
Q36.The procedure `countGirls` is executed using the "Scores" dataset and counts the number of girls who have got more than the subject-wise average marks in at least one of the three subjects. Assume that the subject-wise average marks for Physics, Chemistry and Mathematics are stored in variables `P`, `C` and `M` respectively. Choose the correct code fragment(s) to complete the procedure.
```
Procedure countGirls(P, C, M)
count = 0
while(Table 1 has more rows){
Read the first row X from Table 1
******** Fill the code ********
Move X to Table 2
}
return(count)
End countGirls
```