You should had some mutators and accessors to set and get the desiredmark and should have a constructor. The input of the marks depends onthe assign. req'ments as they can be via the commandline, dialog boxor a gui, etc.