import java.util.Scanner; import java.text.*; public class InvestmentAccount { // Now add the attributes of the class. Add an attribute for // principal and interest (both doubles) and an integer for the // number of years that have passed.