How to take an array as input(of unknown length) without using buffered reader? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How to take an array as input(of unknown length) without using buffered reader?

😅maybe that's too basic...

20th Dec 2017, 6:07 PM
Bhavya Singhal
Bhavya Singhal - avatar
1 Answer
+ 4
You can't and that is maybe the main lack of arrays. Using lists in that situations is better.
20th Dec 2017, 6:17 PM
Vukan
Vukan - avatar