Problem Statement
Given a string, generate a new string consisting of its last two characters, reversed and separated by a space. Example Given the word 'bat', return 't a'. Constraints 2 ≤ length of word ≤ 100 #include <bits/stdc++.h>... /* * Complete the 'LastLetters' function below. * * The function is expected to return a STRING. * The function accepts STRING word as parameter. */ string lastLetters(string word) { } int main() ...