write a program that inputs five integers and passes them one at a time to function even which uses the modulus operator to determine if an integer is even. The function should take an integer argument and output/return the answer whether the integer is true or false

(hint: combination of arrays and functions)
not really a long program

:D

I've seen excellent attempts to get other people to do homework, but this isn't one of them. Thread locked.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.