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