Letâ€™s say we want to display name, age of a student whose age is an even number.

Hint: Even number and odd number can be decided by doing modulus (%) with 2.

doing modulus (%) with 2