FootfallCam interview question

basic programming questions to identify whether the user's input is a prime number