9.9 user-defined functions: even/odd values in an array
Write a program that reads a list of integers, and outputs whether the list contains all even numbers, odd numbers, or neither. The input consists of five integers. Ex: If the input is 2 4 6 8 10, the output is: all even Ex: If the input is 1 3 5 7 9, the output is: all odd Ex: If the input is 1 2 […]