| Author |
Factorial
|
Adam Blais
Greenhorn
Joined: Dec 02, 2004
Posts: 27
|
|
|
How do you compute factorials in java without making a loop for the number?
|
 |
Layne Lund
Ranch Hand
Joined: Dec 06, 2001
Posts: 3061
|
|
You could use recursion instead. If you don't know what I mean by this, then google for "recursion" or look it up in the index of your textbook. Layne
|
Java API Documentation
The Java Tutorial
|
 |
 |
|
|
subject: Factorial
|
|
|