Program for prime number 100 -500by using function name