hello,
this program is an exercise from ritchie and kernighan book..the question says-
Write a program to count blanks, tabs, and newlines.
i made the following program but the output is coming zero always.
https://www.dropbox.com/s/doky8ev9pdisxr0/h.c
pls help i am new to programming..



3Likes
LinkBack URL
About LinkBacks






..i think the bracket is necessary to mark out the body of the while loop, hope i got the point..but thanks again for such a comprehensive post..
i have not yet reached it..i am doing character input output now...will start word counting and arrays tomorrow...this exercise was a part of line counting...