write a simple program to change a user's input using arrays and iterators.