Question: program in c that counts an specific digit in a line of a txt for example in the txt the text is like: 000000100 000000001

program in c that counts an specific digit in a line of a txt

for example

in the txt the text is like:

000000100

000000001

110001100

100100001

.

.

.

and more

so I want to know how many 0 for example are in each line

like

in row 1 the amount of 0 is: 8

.

.

.

and so on

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!