Robert Bosch interview question

Project,A program to check whether the number is in given range.