Jorge Ponce2,003 Points
I dont now what happend with this error
I created the new random ut the program said no no no
Random randomGenerator = new random(); int randomNumber=randomGenerator.nextInt(3) fact=randomNumber + "";
Ben JakubenTreehouse Teacher
You're on the right track with the first two lines. On task 3 of that challenge you need to use a number that will give you 10 values (0-9), but you have a
3, which will only give you a random number in the range between 0 and 2.
Then for task 4 (line 3), you need to create a new
String variable named
intAsString. You are trying to use a
fact variable that doesn't exist in this challenge.