1 import java.util.Scanner;
 2 public class Testscanner{
 3        public static void main(String[] args){
 4        int nextValue,sum = 0;
 5        Scanner kpInput = new Scanner(System.in);
 6        kpInput.useDelimiter("\\s");
 7        while(kpInput.hasNextInt()){
 8             nextValue = kpInput.nextInt();
 9             sum += nextValue;
10  }
11       kpInput.close();
12       System.out.println("Sum = " + sum);
13  }
14  }

 

(2)我们小组期末课程选题为GUI图形用户界面。 希望可以基本实现游戏平台登录程序的功能,大致可以效仿腾讯TGP。

  成员为朱益纹、张志伟、王翔。

 

posted on 2016-03-28 20:34  slinm.wolf  阅读(165)  评论(0编辑  收藏  举报