It brings up the menu, lets me enter a choice, since there is currently nothing in the file, I choose 3

"enter new record number"

which works fine by bring up the line

"enter tool name, quantity, cost"

however when i enter the information and hit enter, the program continously reprints the menu over and over until I close it.