+ 1
Problem in split
What is problem in my code below? Scanner input= new Scanner(System .in); String MyName=input.nextLine(); int number_of_agent=input.nextInt(); String[] other_customary=(input.nextLine()).split(" "); int turn=1; Arrays.sort(other_customary); for(int f=0;f<4;f++){ System .out .println(other_customary[f]); }
1 Odpowiedź
+ 2
Don't make duplicate questions
https://www.sololearn.com/discuss/2643664/?ref=app