public static void(main string[args])!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
public static void main(String[] args) {
int x;
int y;
Scanner keyboard = new Scanner(System.in);
System.out.println("Enter number you want to multiply:");
x = keyboard.nextInt();
System.out.println("Enter how many times you are multiplying the number:");
y = keyboard.nextInt();
System.out.println(x + " multiplied by " + y + " is " + multMethod(x , y));
}
public static int multMethod(int x, int y)
{
if (y>0)
return x + multMethod(x, y-1);
else
return 0;
}