星期日, 6月 14, 2009

Lab Factorial

Write a Java program that computes N! where N is a positive integer.

Hint:

public static long factorial(int n)

33 則留言: