- Try using one of the loops that is iteration centric.
- Try using one of the loops that is condition centric using
numberOfStudents
as one of the core conditions.
- Remember that there is a condition centric loop that guarantees the body to be executed at least once.
- Try using a iteration centric loop that allow you to work with indexes.
- Remember that you could use the modulus operator
%
to check if a division has a certain reminder. - Try using a iteration centric loop
- Check the statements/keywords covered in the concept an use one of them.
- Try using a iteration centric loop
- Check the statements/keywords covered in the concept an use one of them.