import java.util.*;
class Numtest {
public static void main(
String args[]) {
int answer;
for (int i=0; i<20; i++) {
answer=Math.abs(new Random().nextInt()%100)+1;
println(answer);
}
}
}
Here's the error message but I don't understand what the problem is. Thanks for any help.
C:\My Documents\Numtest.java:9: cannot resolve symbol
symbol : method println (int)
location: class Numtest
println(answer);
^
1 error
Tool completed with exit code 1