JAVA如何输入逗号分隔的数据

       Scanner cin = new Scanner(System.in);ci         String s = cin.next() ;it         String[] nums = s.split(",") ;         int a = Integer.parseInt(nums[0]) ;         int b = Integer.parseInt(num
相关文章
相关标签/搜索