public class FactorialInt {
public static void main (String args[]){
int input_number = 0;
int factorial = 1;
while (factorial < 2000){
input_number = input_number + 1;
factorial =...
Type: Posts; User: iamgonge
public class FactorialInt {
public static void main (String args[]){
int input_number = 0;
int factorial = 1;
while (factorial < 2000){
input_number = input_number + 1;
factorial =...
not sure how to make that happen since i have a loop going already, do i add another loop or does my current loop need to be changed?
i did that and its 7, bit the program is to i guess run a loop that finds that number
Ok so I need to find the smallest integer whose factorial is greater than 2000
current code:
public class FactorialInt {
public static void main (String args[]){
int value = 7, factorial =...