WordChecker: One dimensional arrays

Author: Jordan Kidney ( kidney@cpsc.ucalgary.ca )   Date: March 12, 2006

Concepts to be applied for the problem:

  1. the use of one dimensional arrays
Problem description: Here you must create a program that reads in two strings from the user. The program then should check to see if the strings match any of the following conditions:
  • Check to see if either of the strings is a palindrome ( defined below )
  • Check to see if the strings are anagrams of each other ( defined below )
For each condition output a proper message to indicate of any case is matched from above
Definitions:

Palindrome: Word, phrase or line of verse which reads the same forwards or backwards eg 'Able was I ere I saw Elba.'
Anagram: A word that is spelled with the exact same letters as another word. Example: RIDES is an anagram of SIRED and vice versa.