@@ -0,0 +1,2630 @@
+//********************************************************************************************%0A//  Palindrome.java       Java Foundations%0A//  Author: Miguel A Rodriguez%0A//  Date: 10/31/2015%0A//  Course: CSC 112-001%0A//  Description:%0A//           Creates a system using a stack and a queue to test whether a%0A//           given string is a palindrome.%0A//  %0A//*********************************************************************************************%0A//%0A//   %0A//         UML Diagram for main Application   %0A//         ************************************************************************************  %0A//           Application Class         %0A//          ***********************************************************************************     %0A//Class:      Palindrome%0A//          ***********************************************************************************%0A//Variables&Objects: %0A//            -message:   String%0A//            -again:     String%0A//            -string:    String%0A//            -letter:    String %0A//            -letter2:   String%0A//            -scan:      Scanner%0A//            -result:    Character%0A//            -result2:   Character%0A//          ************************************************************************************%0A//Methods:%0A//            +main(args: String%5B%5D :void %0A//          ************************************************************************************* %0A%0A//   ********************************************************************************************%0A//       Program Logic:%0A//              Create Scanner object, String and Character variables%0A//              Create a Queue and a Stack, as an array or linked list%0A///             Ask for and enter a message.%0A//              Place the message into a queue and a stack%0A//              Initialize a count = 0%0A//              Remove the characters in the message from the queue and the stack, %0A///             When complete, compare the count to the length of the message.%0A//              If they are the same, the message is a palindrome.%0A//              If not the message is not a palindrome.%0A//              Repeat if the user wishes to do so %0A//         %0A//**********************************************************************************************%0A// Pseudocode %0A// 1. Read a string%0A// 2. Place the message into a queue and a stack%0A// 3. Remove the characters in the message from the queue and the stack%0A// 4. compare results and prints out accordingly: whether is a palindrome or not%0A// 5. Allows the user to continue%0A//**********************************************************************************************%0A

Create Palindrome.java