Hello! I’m having a problem with this exercise. My code and Unity’s error message are below.
// Use this for initialization
void Start () {
print (“Welcome to Number Wizard”);
print (“Pick a number in your head but don’t tell me!”)
int max = 1000; int min = 1;
print ("The highest number you can pick is" + max); print ("The lowest number you can pick is" + min);}
Error message:
NumberWiz.cs(11,19) Unexpected symbol: int
Could someone go over the code and tell me what’s wrong? Thanks in advance. I should add that the ‘int’ in question has a red underscore, as if it was misspelled.
The compiler error messages aren’t always the most helpful with this kind of thing.