Saturam interview question

Simple coding like Prime number, Odd and even number