Pergunta de entrevista da empresa Jobin and Jismi IT Services

write an algorithm for printing array elements only using one loop