WHAT THE HECK
Please someone help me.
Random randomGenerator = new Random(); int randomNumber = randomGenerator.nextInt(10) randomNumber = intAsString.int
Samuel Moisan11,953 Points
For your future question I suggest you to explain what you want to do with the code you provide, it will be easier for the community to help you.
I look on the challenge and it seem you need to convert randomNumber as an int, in the variable intAsString as a String. You can do this in multiple ways.
int number = 10; String intAsString = number + "";
int number = 10; String intAsString = Integer.toString(number);
int number = 10; String intAsString = String.valueOf(number);
I hope this can help you!
but.. treehouse says it is wrong
Is it possible to ask tree house them self? Sorry but it still says " Bummer! There is a compiler error. Please click on preview to view your syntax errors!". I did that and it just made me confused.
How do I contact them?