You are on page 1of 6

START

Prompt for students


first name

Read firstName

Prompt for
students last name

Read lastName

Prompt for
student age

Read age

age <= 18
TRUE OR age <=
35

Display "these marks


are incorrectly FALSE
entered

1 2
1 2

Prompt for the date


in the format
[DDMMYYYY]

Read date

Prompt for student


theory marks out of 250

Read theoryMark

Prompt for student


practical mark out
0of 250

Read practMark

practMark > FALSE


250 OR
theoryMark
>250

TRUE

3 4
4
3 4

percentage1

Display to the Display to the


screen student screen These
percentage marks are
incorrectly entered

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

Prompt the user to make a


new choice

1. If they the want to


do Cullinary Art as a
new option
2. If they the want to
do Stewing as a new
option
3. If they the want to
do seasoning as a
new option
4. If they the want to
do Roasting as a new
option

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

You might also like