Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- int main() {
- int n;
- cin >> n;
- int m;
- cin >> m;
- int x = n / 10;
- int y = m / 10;
- int l = x % 10;
- int u = y % 10;
- cout << u + l << endl;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement