I'm trying to find the number of link, tags, comments, and characters in an HTML file, I get the correct number of links, tags, and comments when i runthis program, but the number of characters ends up being short of the correct amount of characters by the number of tags there are, so RightNumOfChars - NumOfTags = WrongNumOfChars(the amount the program gives me).
I hope this made sense, but I dont know what i'm doing wrong for the program to subtract the number of tags from the character total