I'm getting a bunch of strange numbers... I don't think I'm reading the correct input. At the same time I'm getting an outofboud exception. like I'm going beyond the 5 elements of the array
...
Type: Posts; User: mia_tech
I'm getting a bunch of strange numbers... I don't think I'm reading the correct input. At the same time I'm getting an outofboud exception. like I'm going beyond the 5 elements of the array
...
guys, I'm trying to read a stream of numbers from standard input like: 2 3 -3 10 44 9 -1. The line ends once it read -1, but for some reason I have an endless loop... how could I read this stream of...