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

PROGRAMMING:Anglo American name (*)

Luz5年前 (2021-05-10)题库486
English and American names are more complex and generally consist of three names: Christian name, self named name and surname. Assuming that the length of all first names is no more than 30 characters, please write a program, input the Christian name, self naming and last name, and output the complete first name.
####Input format
>Christian name
>Self naming
>Surname
####Output format
>Full name
Note: if all three names are empty, output no name.
####Input sample 1
```in
Lionel
Brockman
Richie
```
####Output sample 1
```out
Lionel Brockman Richie
```
####Input sample 2
```in
Karen
Carpenter
```
Note: blank line in the middle
####Output sample 2
```out
Karen Carpenter
```
####Input sample 3
```in
Foster
```
Note: the first two lines are blank
####Output sample 3
```out
Foster
```
####Input sample 4
```in
```
Note: all three lines are blank
####Output sample 4
```out
Noname
```







answer:If there is no answer, please comment