Enter a three-digit number A(its elements contain1~9 , and does not contain 0) . For example:789 . Your programm will reverse the numerical order (789 -> 987) , it is B . And then add the A and B (789+987) . Output the sum .
Enter a three-digit number A(its elements contain1~9 , and does not contain 0) .For example:789.
Output the A + B result.Note that you do not need to print ‘\n’ at the end of the output.