import java.util.Scanner; import java.text.*; public class InvestmentSimulator { public static void main(String[] args) { // Now write code that uses the constructors of // InvestmentAccount to create TWO investment accounts. // Remember that InvestmentAccount has two different // constructors. Use the one which uses the Scanner object // to query the user for information about an account. // // Also, since the questions asked by the InvestmentAccount // constructor are generic, in the sense that they don't // know anything about this file (the InvestmentSimulator) // add some additional println statements in this file that // give the user additional context about what is happening. // // For example, you might want to tell the user "You are about // to enter data for the first account", and then call // the InvestmentAccount constructor. // Then tell the user "You are about to enter data for the second // account." Then call the InvestmentAccount contructor again.