That's my code so far.
int main(int argc, const char * argv)
int stud_num, section, std_section, last_section;
/* Get input from user */
printf("Enter the number of students:");
/* Calculations */
section = stud_num/35;
cost_factor = (35*section)/stud_num;
I'm not sure what the prof is asking for in the standard section and the last section? And I can't even think of how to calculate it.
Here is the assignment page: C code - 35 lines - codepad