iam supposed to CREATE A FUNCTION
INT ADJUSTEDSUM (INT[],INT)
1. find the sum of the array of size 100
2. find the number of occurrence of a MIN and MAX number if its twice or more only use 1 instance of EACH
3.IF MIN AND MAX HAVE THE SAME NUMBER DO NOT INCLUDE IN THE SUM
AND FINALLY IF THE NUMBER OF ENTRIES BY THE USER IS LESS OR EQUAL TO 2 THEN I SHOULD RETURN 0.
kindly if anyone can suggest how i can do this using arrays , would greatly appreciate it, IAM NOT GOOD AT USING ARRAYS I GET MIXEDUP!
Thanks, Antique