Hi guys :) It's my first time posting and I need help with a program I'm supposed to write for school. I have no clue how to do it and could use any information, thank you!
Here's the Information:
"Ask the user to enter a word. Output the letters in the word in reverse order (e.g., Lucy becomes ycuL). Palindromes are words that are spelt the same when they are reversed. Add a check to the program to determine if the word entered is a palindrome. For example, the word “dad” is a palindrome because spelt backwards it is still “dad”."
I would use a JFrame with 2 JTextFields. In one JTextField the user would enter the word. In the other JTextFied would be the user's input in reverse. Then I would compare the two JTextFields to see if they are equal.
Disagree. Never start with the GUI; always get the model first. Anyway - who said this was a GUI application?
DaniWeb Member Rules (which you agreed to when you signed up) include:
"Do provide evidence of having done some work yourself if posting questions from school or work assignments" http://www.daniweb.com/community/rules
Post what you have done so far and someone will help you from there.
For Each ctrl As Control In Me.Controls("pnlMainPanel").Controls
If ctrl.GetType Is GetType(System.Windows.Forms.Panel) Then
For Each subCtrl As Control In ctrl.Controls
If subCtrl.GetType Is GetType(System.Windows.Forms.TextBox) Then
If subCtrl.GetType Is ...