The "parity" of a number refers to its property of being even or odd.
Write a function named printParity
with void
return type that takes a single
int
argument and prints "Even"
if it is even and "Odd"
if it is odd.
Stuck? You may find these lessons helpful: