A+B probleam 提交十次过了

package grammer_exercises;



import java.util.Scanner;



public class Main {

    public static void main(String[] args){

        int a,b;

        Scanner input = new Scanner(System.in);

        while ( input.hasNextInt()){

        a=input.nextInt();

        b=input.nextInt();

        System.out.println(a+b);

          }

    }

    

}

练练题库的模拟题再做点项目算是熟悉熟悉JAVA的语法吧

你可能感兴趣的:(提交)