No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
// A method for finding the longest and shortest string //and a method to split each word so i can see if it is a // palindrome or not thanks for the help { public static void main(String[] args) { String string ; int index ; String sentence; String newSentence; … |
|
[code] // need help with this how do i get the for loop to print out just //the alphabetic words { public static void main(String[] args) { String string ; int index ; String sentence; String newSentence; String word; int startPos; int spacePos; int wordCount; boolean lastWord; boolean alphaWord; char … |
|
I need help on this program it takes in a string e.g abc 121 123 abba acca. Then the output is Valid Palindromes are abba acca (It doesnt count numbers as palindromes) How do i seperate each word without using arrays? I wrote this code for the start but it … |