bioteacher
2010-11-30 16:15:17 UTC
what if there are numbers in the file
and I want the program to count how many are divisible by 2 and how many are divisible by 3?
I am only using stdio.h
I know the logic, I just don't know the parts of the program. Do I use an index? counter?
i do something like
if (number % 3) ==0)
index ++
or count_of_multiples_of_3 ++
I'm unfamiliar with the language
????