Start New Discussion within our Software Development Community

Hey guys, I'm making a program to count the number of zeros and tens in a list of numbers in the format: 5,10,5,0,4,6,7,3,0,10,2..... Yeah like in that format, how do I make it read the data like that without a set number of values to be entered and count the number of 0s and 10s in the set of values entered.

just use while not EOL (end of line) ...
so that if the sequences stop then the counting procces also stop .

This article has been dead for over six months. Start a new discussion instead.