I am writing a program to get the "sum" of a word, based on letters (i.e. "abc" = a+b+c = 1+2+3 = 6). I am using the method of total += (int) char
total += (int) char