I have an array of integer, when the user inputs a certain number called NUM and a range for me to search, I will have to output all the numbers within the range around NUM....
Could you tell me your ideas about how to solve this kind of problem ?

Any help/ideas are really appreciated...

-hometown