刚学Java,写一个整数a+b体验一下!!!
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader=new Scanner(System.in); int a=reader.nextInt(); int b=reader.nextInt(); System.out.println(a+b); } }
刚学Java,写一个整数a+b体验一下!!!
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner reader=new Scanner(System.in); int a=reader.nextInt(); int b=reader.nextInt(); System.out.println(a+b); } }