Santoshi Interview Question

Write code for Prime Number