int is_numeven(int number)
	if(!(number % 2)) /* Mod
		return true;

	return false;

int SumThreeNumbers(int num1, int num2, int num3)
    return num1+num2+num3;
The first example divides the given parameter by the smallest even number that can be divided with and then it checks the remainder. (correct me if I'm wrong)

The second example should speak for itself.

Last edited by shabbir; 10Apr2007 at 08:28.. Reason: Code formatting