摘要: 1、出现不能上网时以管理员身份运行命令行,在弹出的窗口中运行如下命令: netsh winsock reset catalog netsh int ip reset reset.log hit 阅读全文
posted @ 2014-03-24 20:19 Neville 阅读(140) 评论(0) 推荐(0)
摘要: import java.util.Scanner; public class caishuzi{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.println("---猜数字游戏,请输入一个100以内的正整数---"); int num; int computer=(int)(Math.random()*101);//电脑随机生成数 do{ num = sc.nextInt();//接收输入的数字 if(num>computer){Syst 阅读全文
posted @ 2014-03-09 11:40 Neville 阅读(425) 评论(0) 推荐(0)
摘要: import java.util.Scanner;public class game{ public static void main(String[] args){ System.out.println("---猜拳游戏---"); System.out.println("1、剪刀 2、石头 3、布"); Scanner sn=new Scanner(System.in); int person = sn.nextInt();//接收输入 int computer=(int)(Math.random()*3)+1;//随机生成数 String mark 阅读全文
posted @ 2014-03-08 22:45 Neville 阅读(165) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2014-03-08 17:26 Neville 阅读(94) 评论(0) 推荐(0)