WTW interview question

Write a code of Prime Number