/** Driver.java - Interactively make use of the finance functions defined * in the other file. They are static methods, so we call them as * Finance.x */ public class Driver { public static void main(String [] args) { Example.welcome(); int n = 15; double rate = 7.0; double startValue = 2000.00; double finalValue = Finance.interest(n, startValue, rate); System.out.printf("Final value is $ %.2f\n", finalValue); System.out.printf("The annual loan payment is %.2f\n", Finance.payment(25, 1000000.00, 3)); } }