module GradeTable; from PieChart import Color, GradeScale; export all; object GradeTable is description: (*aga is AbsoluteGradeArray and rga is RelativeGradeArray*); components: aga:GradeArrayBin*, rga:GradeArrayBin*; end GradeTable; object GradeArrayBin is components: lettergrade:string, percentage:integer, Color; end GradeArrayBin; operation ModifyGradeTable is inputs: GradeScale; outputs: GradeScale; description: (*Updates the gradescale view with the instructor's input in the Grade Table window*); end ModifyGradeTable; operation CreateGradeTable is inputs: GradeScale; outputs: GradeTable; description: (*Creates the GradeTable and populates it with the correct percentage when the GradeTable grade scale functionality is called*); end CreateGradeTable; operation SaveGradeTable is inputs: GradeScale; outputs: GradeScale; description: (*Saves the GradeTable data into the GradeScale*); end SaveGradeTable; end GradeTable;