DXC Technology interview question

Q: Program for prime number?