Balconies Code Coach | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
15th Dec 2023, 7:28 AM
Jaelani Kusuma
Jaelani Kusuma - avatar
2 Respuestas
+ 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