A+B问题

 解题思路:

  简单的输入和输出控制

解题代码:

/**简单的输入和输出*/
    public static void main(String[] args) {
        Scanner input =new Scanner(System.in);
        int  n1=input.nextInt();
        int  n2=input.nextInt();
        int res=n1+n2;
        System.out.println(res);
    }
原文地址:https://www.cnblogs.com/songchengyu/p/12583194.html