start Input the principal amount invested. Call a method to get the interest. Output the interest to the user. the principal amount invested. a method the interest. the interest the user.Write a method that takes the principal a parameter, calculates the interest the the calculated interest