You can try ascii code, make an array that stores the ascii of each of the characters, find the max of those ascii codes (by looping through and maxing them out) and convert from the int to the char to print.