I am a graduating student, taking up BS IT. Unfortunately, i don't have a talent in the field of programming. I have a problem regarding our final project this semester in Software Metrics. Our teacher requires us to have HALSTEAD METRICS PROGRAM to be pass on SEPT. 13 2010. Any language will do (C++ or Java, etc..). I really need your help, I'm asking for a favor if you could help in this. :cry: I need a code that will measure the following: N1 = number of distinct operators (in each line) N2 = number of distinct operands (in each line) n1 = total number of unique operators (in each line) n2 = total number of unique operands (in each line) Thanks a lot!