0
Balconies Code Coach
Any easier way? https://www.sololearn.com/coach/24?ref=app Mycode: https://sololearn.com/compiler-playground/cIGUT1U3MZf1/?ref=app
2 ответов
+ 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(",");
...
+ 1
I think it is the most cleanest code in this case.
Java is verbose and I feel confusing at times.