SoftwareNow we convert the first line to three simpler lines ...
TOTAL = SCORE1 + SCORE2
IF(TOTAL-50.GT.0) GOTO PASS
GRADE = 'F'
GOTO END
PASS: GRADE = 'P'
END: STOP
| → |
GET SCORE1
ADD SCORE2
PUT TOTAL
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