I am trying to save up spare change and tips from my work to buy a nexus 7 and I thought I could make a program that tracks my balance and allows me to make deposits. Here is what I have. I need help making it where the user can input how much the deposit amount is.import java.util.Scanner; class newDeviceFund { //instance variables double balance; double goal; double difference; double amount; //constructors newDeviceFund(double bal, double gol) { balance = bal; goal = gol; difference = gol - bal; } //methods double getBalance() { return balance; } void deposit(double amt) { amount = amt; Scanner scan = new Scanner(System.in); System.out.println("How much is your deposit? $"); amount = scan.nextDouble(); balance = balance + amount; } void allInfo() { System.out.println("Balance: $" + balance + "\nGoal: $" + goal + "\nYou have $" + difference + " to go!"); } } class newDevice { public static void main(String[] args) { String device; String numChoice; newDeviceFund grouper = new newDeviceFund(0, 199); newDeviceFund manta = new newDeviceFund(0, 399); grouper.deposit(); /*System.out.println("Type device codename"); Scanner choice = new Scanner(System.in); device = choice.nextLine(); if (device.equals("grouper")) System.out.println("Press 1 to deposit \nPress 2 to view stats on account"); Scanner num = new Scanner(System.in); numChoice = num.nextLine(); if (numChoice.equals("1")) grouper.deposit(); if (numChoice.equals("2")) grouper.allInfo(); if (device.equals("manta")) System.out.println("Press 1 to deposit \nPress 2 to view stats on account"); Scanner next = new Scanner(System.in); numChoice = num.nextLine(); if (numChoice.equals("1")) manta.deposit(); if (numChoice.equals("2")) manta.allInfo(); */ } }