继续请求帮助 谢谢
import java.util.*;public class YiHuo{
public static void main(String args[]){
Scanner reader=new Scanner(System.in);
System.out.println("请输入两个正整数:");
while(reader.hasNextInt()){
int x=reader.nextInt();
int y=reader.nextInt();
if(x%2!==0&&y%2!==0){
System.out.println("C1="+(x^y));
System.out.println("C2="+((-x)^(-y)));
}else if(x%4==0&&x%8!==0&&y%4==0&&y%8!==0){
System.out.println("C1="+(x^y));
System.out.println("C2="+((-x)^(-y)));
}
else{
System.out.printf("您输入的数字不符合要求.");
}
}
}
}
编译的时候 怎么会出现非法字符呢 ???、