ok, it's working, but there is a doubt that i'm having. I declared a String array to capture five words. String[5]. So everytime i enter a word it takes an element of the array. But i want that when i enter a word that is longer than 10 letters, it doesn't take an element of the array. So the program will always print the five words encripted. How do i code this?