Problem:
Read 10 integers from the user and calculate the maximum sum that can be created by any of the numbers, and that the sum will not exceed 100.

Now, i just can't figure it out :/
any help guys?