SoftwareNext we convert to a comparison with 0 rather than with 50.
TOTAL = SCORE1 + SCORE2
IF(TOTAL.GT.50) GOTO PASS
GRADE = 'F'
GOTO END
PASS: GRADE = 'P'
END: STOP
| → |
TOTAL = SCORE1 + SCORE2
IF(TOTAL-50.GT.0) GOTO PASS
GRADE = 'F'
GOTO END
PASS: GRADE = 'P'
END: STOP
|
Slide show generated from sw.html by Weasel 2007 Mar 15