@@ -0,0 +1,1415 @@
+/**%0A * 305.467.5719%0A * @author david.lopez016@mymdc.net%0A */%0Apublic class Student %0A%7B%0A    private double%5B%5D scores;%0A    private double arrSize;%0A    %0A    public Student(int capacity)%0A    %7B%0A        arrSize = capacity;%0A        scores = new double%5Bcapacity%5D;%0A        for(int i = 0; i %3C arrSize; i++)%0A        %7B%0A            scores%5Bi%5D = -1;%0A        %7D%0A    %7D%0A    %0A    public boolean addScore(double score)%0A    %7B%0A        boolean ret = true;%0A        for(int i = 0; i %3C arrSize; i++)%0A        %7B%0A            if(scores%5Bi%5D %3C 0)%0A            %7B%0A                scores%5Bi%5D = score;%0A            %7D%0A            else if(scores%5Bi%5D %3E= 0)%0A            %7B%0A                ret = false;%0A            %7D%0A        %7D%0A        return ret;%0A    %7D%0A    %0A    public double sum()%0A    %7B%0A        double sum = 0;%0A        for(int i = 0; i %3C arrSize; i++)%0A        %7B%0A            sum += scores%5Bi%5D;%0A        %7D%0A        return sum;%0A    %7D%0A    %0A    public double minimum()%0A    %7B%0A        double min = scores%5B0%5D;%0A        for(int i = 0; i %3C arrSize; i++)%0A        %7B%0A            if(scores%5Bi%5D %3C min)%0A            %7B%0A                min = scores%5Bi%5D;%0A            %7D%0A        %7D%0A        return min;%0A    %7D%0A    %0A    public double finalScore()%0A    %7B %0A         if(arrSize == 0)%0A         %7B%0A             return 0;%0A         %7D%0A         else if(scores.length == 1)%0A         %7B%0A             return scores%5B0%5D;%0A         %7D%0A         else%0A         %7B%0A             return sum() - minimum();%0A         %7D%0A    %7D%0A%7D%0A

Create Student.java