import java.util.Scanner; import java.text.*; public class InvestmentAccount { double principal; double interest; int years; // Now add a constructor that takes 2 formal parameters, // the initial principal, and the initial interest. In the // parameter list, use a name different from the names of // the attributes of the class. // // Make sure your constructor sets the value of the attributes // using the formal parameters, and also initialize the value // of years to 0.