what is the ending value of sum, if the input is: 2 5 7 3? all variables are integers. a. 5 b. 10 c. 15 d. 12