Originally Posted by shabbir
Comment out the if below the lines // prohibit users from entering more than 10 grades

Use lstGrades.Items.Count instead of 10 in while ( intGradeCounter < 10 ); and after that add the if condition.

Use the variable intGradeCounter intTotal / 10.0; instead of 10
May I know how to use lstGrades.Items.Count command? Can show me example?

I also need to know how the intGradeCounter works to be able to count the variable number?
Im new to this software so I may need to know more.

Thanks for your understanding.