Write a function named isSuper that returns 1 if its array argument is a isSuper array, otherwise it returns 0
It's easier to use the enhanced for loop like this:

    for(int value : a) {
        if(value &lt;= sum) 
            return 0;
        sum += value;       
    }
    return 1; 


This also clears up some unnecessary lines like checking if the function should break and return. When you return a value, it immediately leaves the function. Therefore, you don't need to break then return. If all value pass the for loop, then it will return 1. 

Also, you might want to return boolean instead of int in your method because it's just true or false.