1 public static void main(String[] args) { 2 Scanner s = new Scanner(System.in); 3 int a = s.nextInt(); 4 System.out.println("第一个整数是:"+a); 5 int b = s.nextInt(); 6 System.out.println("第一个整数是:"+b); 7 }
原文地址:https://www.cnblogs.com/fanful/p/11179353.html
时间: 2024-10-18 04:16:42