Problem:
Question 1: Write a method SumWithoutSmallest that computes the sum of an array of values, except for the smallest one in a singel loop. In the smallest one, update the sum and the smallest value, after the loop return the difference.
Question 2: Draw the E-R diagram in Visio showing only entities and relationships between them. Make sure you identify the weak entity sets, and also cardinality and participation constraints for each relationship using appropriate symbols in your E-R diagram.
Please describe both the answers in detail.