結果 : write ac program to check prime number using function