Pregunta de entrevista de Jobin and Jismi IT Services

write an algorithm for printing array elements only using one loop