<s>[INST] import java.util.Scanner;

public class Main
{
	public static void main(String[] args)
	{
		Scanner input = new Scanner(System.in);
		int num;
		double balance;
		int interest;
		System.out.println("Welcome to the bank. Please enter the number on your account card: ");
		num = input.nextInt();
		System.out.println("Please enter your balance: ");
		balance = input.nextDouble();
		System.out.println("Please enter the percentage of interest you would like to add: ");
		interest = input.nextInt();
		double newbalance = balance * (1 + (interest/100));
		System.out.println("Your new balance is: " + newbalance);
	}
}

I have to turn this program into a method with 1 parameter. How do I do that?[/INST]