Update Mini_Project.c

Validating the User input.