Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import com.example.utils.MyMath;
- public class FactorialTest {
- /**
- * @param args
- */
- public static void main(String[] args) {
- long l = 6;
- for (l = 1; l <= 10; l++) {
- System.out.println("Factorial of " + Long.valueOf(l).toString() + " is " + Long.valueOf(MyMath.Factorial(l)).toString());
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement