What is the output of the following program? What well-known mathematical
method is rose?
public class Exercise13
{
public static void main(String[] args)
System.out.println(rose(4));
}
public static int rose(int n)
if (n
return 1;
else
return ( rose(n – 1) * n );
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here