I understand that, you mentioned above about the grades being entered as Strings.
Type: Posts; User: StephenCoyle
I understand that, you mentioned above about the grades being entered as Strings.
Surely you would use an integer to read in marks?
Start with writing down the logic/algorithm for the validation.
For example, you want the user to repeatedly enter a value until it is valid (between 0 and 100), so you would use a loop for this.