write a program that reads in a sequence of lines of text and counts the number of lines entered, and the number of alphabetic characters entered.

Initialise linecount and alphacount to zero
read a character
while (character just read is not end of file indicator)
if (character just read is equal to end-of-line character)
increment the linecount
else
if (character just read is alphabetic character (ie. one of 'A'..'Z' or one of 'a'....'z'))
increment alphacount
read a character
endwhile
display linecount and alphacount


I don't really understand what this question is asking me, could someone please give me some advice. thank you very much