public static void main(String[] args) {
int secretNumber=(int)(Math.random()*100);
System.out.println("Key in your guess: ");
Scanner kb=new Scanner(System.in);
int firstguess=kb.nextInt();
While (firstguess<secretNumber) {
提示找不到符号
------解决思路----------------------
……不是大小写错了吧 while