import java.util.Scanner; import java.text.*; public class InvestmentSimulator { public static void main(String[] args) { System.out.println("We are now goign to enter the 1st account info."); InvestmentAccount a1=new InvestmentAccount(); System.out.println("Second account info"); InvestmentAccount a2=new InvestmentAccount(); DecimalFormat df=new DecimalFormat("#.##"); int year; for (year=0; a1.principal