Website Summary Files Commits Branches @commit @diff @stats
path: root / Week03 / Exercise12.cpp
blob: f13fe59619bba4993d23bb146a227db226a49ac6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#include <iostream>

int main() {
    char current, goal;
    std::cin >> current >> goal;

    std::cout << ((goal - current + 26) % 26);

    return 0;
}