-->
当前位置:首页 > 题库

PROGRAMMING:Character reverse order output, and to the sum of ASCII code values

Luz5年前 (2021-05-10)题库508
Input three characters from the keyboard, output them in reverse, and output the sum of the three characters' ASCII values.
###Input format:
Enter three characters on a line, separated by spaces.
###Output format:
Output three characters in reverse order on a line, separated by spaces. Output the sum of three character ASCII values on another line.
###Input example:
Here is a set of inputs. For example:
```in
a b c
```
###Output example:
The corresponding output is given here. For example:
```out
c b a
two hundred and ninety-four
```







answer:If there is no answer, please comment