Hi guys, I have 2 quick questions on C.
If I have a function, thisfunction (), if i want to apply multiple numbers into it, like 37, 0, 100, etc. how would i go about doing that? I'm really stumped. So I want it to be like this:
Am I using the prototype right? I'm stumped.
void printEvenOrOdd (int 37, int 0, int 3, int 777, int 10000);
printf("Lab Exercise #10\n");
void printEvenOrOdd(int 37, int 0, int 3, int 777, int 10000)
//Not Finished yet!
My other question is one where I'm looking on printing the word even if its even, or odd if its odd. I'm not looking for any spoon fed answers, maybe a link to a page on how its done, or hints on it, but I've been looking in our textbook and no luck. My brain is frying over the frustration an easy problem is making. :/
Thanks guys, you are awesome