Professional Documents
Culture Documents
Structured English: DO Consider Input Format
Structured English: DO Consider Input Format
1 2 3 4 5 6 7 8 9
1. percentage>=90 Y N N N N N N N N
2. percentage >=80 N Y N N N N N N N
3. percentage >=75 N N Y N N N N N N
4. percentage >=70 N N N Y N N N N N
5. percentage >=65 N N N N Y N N N N
6. percentage >=60 N N N N N Y N N N
7. percentage >=55 N N N N N N Y N N
8. percentage >=50 N N N N N N N Y N
Decision Tree
X/2 Equals to 0 DISPLAY “It is even”
2
1
-------------------------------------------------
GET X
IF X/2 Equals to 0
THEN DISPLAY “It is even”
ELSE
CALL Function odd
ENDIF
IF Student.dat file not found
THEN DISPLAY “File could not be found error”
GO BACK to initial stage
ELSE
DISPLAY Student Result Screen
WHILE Student.dat File is READ
CALL FUNCTION Show_tabular
END WHILE
ENDIF
Decision Table
Conditions and Actions Rules /Condition Alternatives
1 2
1. IF Student.dat file not found Y N
Decision Tree