after opening the text file the the prog is soposed to read each record into certain variables and then display the variable name to the screen

the problem i am geting is that the last record in the text file is being printed
twice

the txt file is formated as so
4 Jennifer f n
3 Alexandra f n


while (!feof(fp))
{
fscanf(fp, "%d %s %c %c" , &age,...