So I'm making a file that calculates the total score for an individual student. the end of my linefeed will be -1. the first line determines the possible points and the rest of the lines are data for a particular student. There isn't a limit on how many student data the program can read. so i figured out the first line feed I'm just stuck on how the program will read each student data until it reaches the last one. and where do i calculate the percentage, whenever i check it, it always comes out as 0. Any help will be great! thanks!