This preview shows page 1. Sign up to view the full content.
Unformatted text preview: System.out.println( "Enter a string and I will tell you how many vowels there are" ) String input = keyboard.next() // convert the string to all lower case for easier checking input = input.toLowerCase() if(!checkstring(input)) System.out.println("The String you entered is NOT a palindrome") else System.out.println("The String you entered is a palindrome") } }...
View Full Document
This note was uploaded on 09/16/2009 for the course CS 3345 taught by Professor Ozbirn during the Spring '08 term at University of Texas at Dallas, Richardson.
- Spring '08
- Data Structures