Versatile ?
How good is this program ?
Only works with class sizes of 10
Would like it to work with any class size.
A better way :
Ask the user how many students are in the class - use that number in the condition of the while loop.
Previous slide
Next slide
Back to first slide
View graphic version