Part 3 - BASIC PROGRAM (WEIGHTED PUPIL UNITS)