25th Sep 2021, 6:21 PM
Sarthak Malhotra
Sarthak Malhotra - avatar
2 Antworten
0
There you need lot more changes.. task is to replace 0 to 10 only.. line.charAt(I) read single character only and it can't be equal to a number , you need convertion for compatibility all need in small letters.. Try to Learn more before solving it.. tell the problem where went wrong in your try.. step by step will be better. hope it helps. happy learning..
25th Sep 2021, 6:46 PM
Jayakrishna 🇮🇳
0
I would suggest you use a HashMap instead of those two separate arrays, and then only add numbers from 0 to 10.
25th Sep 2021, 7:00 PM
Jan
Jan - avatar