computes and returns the n:th falling power of base

This is one of my questions on my assignment and i have a hard time getting the solution. some assistance please. The question and my code is posted below.

#

int fallingPower(int base, int n) that computes and returns the n:th falling power of base, which is the product of n consecutive terms (base)*(base-1)*(base-2)* … * (base-n+1). For example, fallingPower(10,3) should return 720, which is 10*9*8.

public int fallingPower(int base, int n){

public int power;

for(int i = n; i > 0; i--){

power = power * (base - 1);

}

System.out.println(base);

return base;

}

}