Computer Science, asked by Raghuvanshidev07, 6 months ago

A=0
B=0
C=0
while (Pile 1 has more cards) {
Read the top card X in Pile 1
if (X.TownCity=“Chennai”) {
if (X.DateOfBirth < “1 May") {
if (X.TOTALmarks > A) {
A=X.TOTALmarks
}
}
if (X.TOTALmarks > B) {
B = X.TOTALmarks
}
}
else {
C=C+1
}
MOVE X to pile 2
}





* answer for A ?
* answer for B ?
* answer for C ?

Answers

Answered by mmhkhan
0

Answer:

b is the correct answer

Similar questions