HashStudioz Interview Question

Prime Number Function and calling that function