package eco.game;


public class Loan {
    
    public Loan(){
        
    }
    
    
}

@@ -41,27 +41,548 @@
     
-%0A    public Loan()%7B
+public int maxLoans = 5;%0A    public float%5B%5D coupons = new float%5BmaxLoans%5D;%0A    public int%5B%5D principals = new int%5BmaxLoans%5D;%0A    public int%5B%5D maturityDates = new int%5BmaxLoans%5D;%0A%0A    %0A    public Loan()%7B%0A        %0A        %0A    %7D%0A    %0A    public void takeLoan()%7B%0A        %0A        %0A        %0A        %0A    %7D%0A    %0A    public void payInterest()%7B%0A        for(int i = 0; i %3C maxLoans; i++)%7B%0A            if(coupons%5Bi%5D != 0)%7B%0A                %0A            %7D%0A        %7D%0A        %0A    %7D%0A    %0A    public float calculateInterest()%7B%0A        return 4.4f;%0A        
 %0A   

Update Loan.java