PSEUDOCODE:
.
.
.
REPEAT
Process 1
.
.
.
Process n
UNTIL Condition
.
.
.
CODE:
Set Count to Zero
Read first Student Record
DO WHILE Sexcode is not equal to Zero
If Sexcode = .F.
Calculate Percentage
If Percentage =>45 THEN
If Percentage<60 THEN
write output data
add 1 to Count
ENDIF
ENDIF
ENDIF
Read next student record
ENDDO
Write Count
STOP.