```
class Solution {
public:
char findTheDifference(string s, string t) {
int sum = 0;
int size = s.size();
for (int i = 0; i < size; i++) {
sum -= (int) s[i];
sum += (int) t[i];
}
sum += (int) t[size];
char result = static_cast<char>(sum);
return result;
}
};
```

After subtracting the converted int values of s from the values of t, the remaining number should be the value corresponding the the answer.