char func(char a, char b){ char output; a = a - 65; b = b - 65; if( a > b) { output = a - b; } else { output = 90 - (b - a); } return output;}