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

PROGRAMMING:English homework of youyou Xuejie

Luz5年前 (2021-05-10)题库424
You Xuejie's English is not good, the teacher arranged a series of simple questions, one of which is to give you a word, write its plural form. Poor youyou Xuejie is baffled. Good acmer, help her! Finish this topic, youyou Xuejie can graduate smoothly!
The rules of word change are as follows:
1. Ending with s, x, CH, SH and adding es;
2. End with O and add es;
3. Ending with y, change y to I and add es;
4. In other cases, add s directly.
###Input format:
There are multiple sets of data, one line in each group, and each group is a word. The words here are commonly used words, and their length is not more than 100. When #, it means the end of input.
###Output format:
Each group only outputs its corresponding complex form, and forms a line separately.
###Input example:
Here is a set of inputs. For example:
```in
word
box
#
```
###Output example:
The corresponding output is given here. For example:
```out
words
boxes
```







answer:If there is no answer, please comment