Q22.The following pseudocode is executed using the "Scores" dataset. What will `count` represent at the end of the execution of pseudocode?
```
count = 0
while(Pile 1 has more cards){
Read the top card X from Pile 1
C = 0
if(X.Mathematics < 75){
C = C + 1
}
if(X.Physics < 75){
C = C + 1
}
if(X.Chemistry < 75){
C = C + 1
}
if(C == 1){
count = count + 1
}
Move X to Pile 2
}
```
Save
Check
Details
Q22
27 Oct 2024
Q22.The following pseudocode is executed using the "Scores" dataset. What will `count` represent at the end of the execution of pseudocode?
```
count = 0
while(Pile 1 has more cards){
Read the top card X from Pile 1
C = 0
if(X.Mathematics < 75){
C = C + 1
}
if(X.Physics < 75){
C = C + 1
}
if(X.Chemistry < 75){
C = C + 1
}
if(C == 1){
count = count + 1
}
Move X to Pile 2
}
```