Hmm.. Dosent work the program will print wrong entry and terminate. What i wanted was the user keep inputting another value until sentinel reaches -1. I want it to prompt wrong entry and for the user to input another value again.