HawarIT interview question

Easy coding problems like, prime number.