Algorithm to input student year and tutor group
2. OUTPUT "Please enter the tutor group."
3. tutorGroup ← USERINPUT
4. IF year < 7 AND > 13 THEN
5. OUTPUT "The year group is out of range"
7. IF tutorGroup ≠ "red"OR tutorGroup ≠ "green" THEN
8. OUTPUT "There is no tutor group with this colour"