The validation code would just be used to make sure that the input is a 10-letter word.
Joined: May 08, 2006
ok, it's working, but there is a doubt that i'm having. I declared a String array to capture five words. String. 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?