// Summary: Palindromes program. // Sorry for the messy code, wanted to do this all in a single method. // I could probably make this into a method that just accepts a string and returns a boolean. import java.lang.reflect.*; public class Testpal{ public static void main(String[] args){ String testing = "Campus Motto: Bottos up, Mac"; // Put string to be tested here. // Now we read the string into an array, excluding any punctuation, and converting it all to lowercase. char isitletter = ' '; int testinglength = testing.length(); char[] testarray = new char[testinglength]; int arrayposition = 1; int blankspots = 0; for(short x=0; x