请问程序哪错了
import java.util.Scanner;public class Q{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
System.out.println("------猜拳游戏------");
System.out.println("请出拳:1:剪刀 2:石头 3:布");
int person = s.nextIng();
int computer = (int)(Math.random()*3)+1;
String Mark = "头";//这是标记;
String Mark2 = "头";
switch (person){
case 1:
Mark = "剪刀";
break;
case 2:
Mark = "石头";
break;
case 3:
Mark = "布";
break;
}
switch (person){
case 1:
Mark2 = "剪刀";
break;
case 2:
Mark2 = "石头";
break;
case 3:
Mark2 = "布";
break;
}
if (person==computer){
System.out.println("你出的是:" +person +"电脑出的是:"+computer +"平局");
}
else if (person==1&&computer==2||person==2&&computer==3||person==3&&computer==1){
System.out.println("你出的是:"+person +"电脑出的是" +computer+"你赢了");
}else{
System.out.println("你出的是:"+person+ "电脑出的是" +computer +"你输了");
}
}
}