good points, jason. as the assignment explains, search is inclusive. if a word appears on line 30, and search is called with a mark of 30, it should return 30. if the word apeads multiple times on that line, search should just retunr that line number anyways. you are looking for the line number of next next occurance of the word starting from the first word of the line number specified by mark. hope this clears things up |