Hi, ok ive had to make a prog for my uni and i have it all working perfectly apart from one small detail. To search my hash fuction it takes in an int value and searches the table. If i input a string value the output loops.

Ideally i would want to be able to out put something long the lines of "Invalid input, please enter a value between 10-100000"

Any help would be great thanks.......