It would probably help tons if you bothered to tell us what each of those functions is supposed to *DO*.
For example, we see that there is a call to numFunction(10,2) but we have no idea if numFunction is supposed to add 10 and 2, multiply 10 by 2, or compare 10 vs. 2 to find the larger. Or something completely different.
If you didn't understand the assignment and can't tell us what is is, we can't very well help you.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.