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);
    }

 

posted @ 2020-03-27 18:20  木原纺  阅读(134)  评论(0编辑  收藏  举报