Professional Documents
Culture Documents
Read firstName
Prompt for
students last name
Read lastName
Prompt for
student age
Read age
age <= 18
TRUE OR age <=
35
1 2
1 2
Read date
Read theoryMark
Read practMark
TRUE
3 4
4
3 4
percentage1
grade
Display to the
screen student
grade
percentage FALSE
>= 50
TRUE
Display to the
Display to the
screen You have
screen You
passed and will be
have fail this
moving onto the
year and you can
second year
repeat the year
if u desire
5 6
5 6
Read option
TRUE
option = 1
FALSE
Display to the
screen Your
new teacher
will be Mr.
Kin
7 8 9
7 8 9
option = 2 TRUE
Display to the
screen Your
FALSE
new teacher
will be Mrs
Grant
option =3
TRUE
Display to the
FALSE screen Your
new teacher
will be Miss
Mofford
option = 4
TRUE
Display to
the screen
FALSE Your new
teacher will
be Mr
Ambross
10 11 12
10 11 12
END