15th Dec 2023, 7:28 AM
Jaelani Kusuma
Jaelani Kusuma - avatar
2 Respostas
+ 5
Jaelani Kusuma , the code is nicely done. if you like you can do input and split in a single line: ... String[] ay = input.nextLine().split(","); String[] by = input.nextLine().split(","); ...
15th Dec 2023, 11:03 AM
Lothar
Lothar - avatar
+ 1
I think it is the most cleanest code in this case. Java is verbose and I feel confusing at times.
15th Dec 2023, 9:19 AM
Wong Hei Ming
Wong Hei Ming - avatar