Requirements

The following is a brief list of requirements:

  • The application takes a line of text from the keyboard.
  • It should fail if the line is blank or contains a non-alphabet character.
  • Any text entered should be converted to either lower- or upper-case.
  • The word should be tested in a separate function to see if it is a palindrome. If it is, the function should return true; otherwise it should return false.
  • The calling function should output whether the inputted text is (or not) a palindrome.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset