i dont know whats wrong

public class prgmTWO { public static void main(String [] args) { double P = Input.getInt("How much have you deposited?"); double i = Input.getInt("What is your annual interest rate?"); i /= 100; double n = Input.getInt("How many years will it be in the bank?"); double s; double invoke = bank(P, n, i, s); System.out.println(invoke); } public static double bank(double P, double n, double i, double s) { double para = 1 + i; double intrest = Math.pow(para, n); s = P * intrest; return s; } }