NeoSOFT Interview Question

Q: Write the code for prime number