Zensar Technologies interview question

Write a program using an array