結果 : java program to check whether a given number is prime or not using for loop