So you need to get the individual values of each letter, combine them to get the alphabetical "size" of the string, and find which one is larger? Cast each character in the strings to integers to get the ASCII value, add them all up, and compare. Simple as that.