Answers for "find number for a given factorial in java"

1

factorial number in java

int num1 = 6; 
 int num2 = 1;
    for(int a = 1; a<=num1; a++) {
        num2 = num2 * a;
    }
        System.out.println(num2);
Posted by: Guest on June-04-2021

Code answers related to "find number for a given factorial in java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language