立即学习:https://edu.csdn.net/course/play/27525/368919?utm_source=blogtoedu
Scanner:扫描器
Scanner input = new Scanner(System.in);
input :随便写
int num = input . nextInt(); //把是输入的整数传给 num
立即学习:https://edu.csdn.net/course/play/27525/368919?utm_source=blogtoedu
Scanner:扫描器
Scanner input = new Scanner(System.in);
input :随便写
int num = input . nextInt(); //把是输入的整数传给 num