Code:
int max (int num_para, ... ) {
// Stuff to do the compares for each item
return the_value_of_the_max_item;
}
look up va_list for more on how to handle variable number of parameters