Binary Search - Problem 4 From MIT 6_00 C Assign

Problem 4 of Problem Set 4 needed binary search for finding out the
expenses. I tried doing what they said about binary search, and here is
my code.
MIT Course Assignments for 6_00 3&4

Problem Set solutions 3 & 4. Needless to say I am hoping i can improve
on the solutions sometime.