Week 9: January 11 - 17. Pointers. References
Sum without maximum
Given array of n integers. Find the sum of all array elements, not equal to maximal.
First line contains number n (n ≤ 100). Next line contains n integers, each of them does not exceed 100 by absolute value.
Print the sum of all array elements, not equal to maximal.
6 5 9 3 4 6 9