Structured English
DO
READ Start date , End date
BEGIN IF
If the coordinator HAVEN’T enter any values THEN
EXIT
END IF
READ user_name , password
BEGIN IF
If user has invalid username or password or haven’t enter both THEN
GENERATE ERROR
END IF
READ personal agendas, exclusion set, preference set, user_name , password
LOGIN user_name , password
BEGIN IF
If the student didn't enter his personal agendas THEN
GENERATE ERROR
END IF
BEGIN IF
if the student didn't enter his exclusion set THEN
GENERATE ERROR
END IF
BEGIN IF
If the student didn't enter the preference set THEN
GENERATE ERROR
END IF
READ personal agendas, exclusion set, preference set , user_name , password
LOGIN user_name , passward
BEGIN IF
If the staff didn't enter his personal agendas THEN
GENERATE ERROR
END IF
BEGIN IF
if the staff didn't enter his exclusion set THEN
GENERATE ERROR
END IF
BEGIN IF
If the staff didn't enter his preference set THEN
GENERATE ERROR
END IF
BEGIN DO WHILE
DO
READ date
preference set = date
WHILE no date found in range
END DO WHILE
UNTIL End-of-file
DISPLAY schedule date
BEGIN WHILE
While date is Not NULL THEN
DISPLAY date
END WHILE
By:
Sarah Al.Najran
Arwa Al.Zabin
Comments (0)
You don't have permission to comment on this page.