here are the question:

write a program that inputs a series of integers and passes them one at a time to funtion even, which uses the modules operator to determine whether an integer is even. The function should take an integer argument and return true if the ineteger is even and false otherwise.

Hmm...i dont know how to do it..can someone help me...teach me plz

Recommended Answers

All 2 Replies

>i dont know how to do it
Not even a guess? You haven't tried anything and simply gave up? If so, programming is not for you. Otherwise, show us what you've tried. Tell us what you learned from what you tried. Show us that you're making some attempt at solving problems on your own and we'll drown you with help. :)

im sorry.. ok i will try ...n i show u what i have done...sorryy...

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.