1.11M Members

How to make a program count the number of 0s and 10s

 
0
 

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.

 
0
 

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

You
This article has been dead for over six months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article