Wipro interview question

Basic programming questions like prime numbers printing