結果 : program to find prime number using function