Strings

Write a function to test if a string is a palindrome.

Write a function to find each word in a sentence, ond put it in a vector.

Only save unique words.

Vector

Write a simple program to allow the user to enter in a set of strings until they enter a blank string. Then display the list of unique words with a count.

Try both with the words on different lines, and then with the words on the same line.

https://repl.it/@JimSkon/ParseSentence

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2019-11-07 - JimSkon
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback