cs743
2016-11-04 13:07:59 0 举报
queen1
作者其他创作
大纲/内容
11
System.out.print (\" Enter the current Y position [1-8]: \"); temp = scan.nextInt();
T
flag=false;
6
8
9
2
7
F
!flag
10
4
currentX = temp;flag = true; String str = scan.nextLine();
System.out.println (\" Current X must be an integer between 1 and 8\");
12
1
temp 8
13
currentY = temp;flag = true;String str = scan.nextLine();
CurrentX=0;CurrentY=0;saveCurrentX=0;saveCurrentY=0;steps=0;direction=0;Scanner scan=new Scanner(System.in);temp=0;flag=false;
True
3
System.out.println (\" Current Y must be an integer between 1 and 8\");
System.out.print (\" Enter the current X position [1-8]: \"); temp = scan.nextInt();
5
0 条评论
下一页