How to find out the number of arguments (using variable arguments) if the first argument just indicates and enum value? : <p>So I am given an list of enum values. This function will return integer value. It takes in an enum value and the rest is followed by integer values. I am supposed to get the total of the following integer values if the enum type is called total and return the total. </p>
