import static java.lang.System.out;

public class UseAccount {

    public static void main(String args[]) {
        Account myAccount = new Account();
        Account yourAccount = new Account();

        myAccount.name = "Барри Берд";
        myAccount.address = "222 Cyberspace Lane";
        myAccount.balance = 24.02;

        yourAccount.name = "Джейн Смит";
        yourAccount.address = "111 Consumer Street";
        yourAccount.balance = 55.63;

        myAccount.display();
        
        out.print(" плюс $");
        out.print(myAccount.getInterest(5.00));
        out.println(" дохода ");

        yourAccount.display();
        
        double yourInterestRate = 7.00;         
        out.print(" плюс $");
        double yourInterestAmount = yourAccount.getInterest(yourInterestRate);
        out.print(yourInterestAmount);
        out.println(" дохода ");
    }
}
