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

PROGRAMMING:Invert string and output

Luz5年前 (2021-05-10)题库421
Input a string (up to 80 characters) from the keyboard, and then output it after inverted storage. Please output the inverted string and the first character.
###Input format:
Enter a string (up to 80 characters) from the keyboard.
###Output format:
Output the inverted string and the first character, the first line outputs the inverted string, the second line outputs the inverted first character, and finally the new line.
###Input example:
```in
I love China!
```
###Output example:
```out
! anihC evol I
!
```







answer:If there is no answer, please comment