CyberSlug Rules!
Beginner Programming CMPS060
Prof. Paulo Franca
Syllabus
Login
Objects
Download
Staff only
In this case, we want to process exactly ten students. We stop after processing student number 10.
if the variable "which" represents the number of the current student:
we repeat while which<=10 or we stop when which>10
we repeat while which<=10
or
we stop when which>10