文件名称:cSharpyingwendanciqiufushu
介绍说明--下载内容均来自于网络,请自行研究使用
英文单词求复数问题
编写一个程序,可以将英语规则名词(不考虑不满足以下规则的英语单词)由单数变成复数。已知规则如下:
a)以辅音字母y结尾,则将y改成i,再加es;
b)以s,x,ch,sh结尾,则加es;
c)以元音o结尾,则加es;
d)其他情况直接加s。
要求用键盘输入英语规则名词,屏幕输出该名词的复数形式。
样例输入:
box
样例输出:
Boxes
-English words in complex problems
Write a program, the rules of English nouns English words) (without regard to the following rules are not met by the singular into plural. Known rules are as follows:
a) to the end of the consonants y, then y changed to i, plus es
b) s, x, ch, sh End, then add es
c) end with a vowel o add es
d) other circumstances directly add s.
Requirements of the rules of English nouns, keyboard input and screen output of the plural form of the noun.
Sample input:
box
Sample Output:
Boxes
编写一个程序,可以将英语规则名词(不考虑不满足以下规则的英语单词)由单数变成复数。已知规则如下:
a)以辅音字母y结尾,则将y改成i,再加es;
b)以s,x,ch,sh结尾,则加es;
c)以元音o结尾,则加es;
d)其他情况直接加s。
要求用键盘输入英语规则名词,屏幕输出该名词的复数形式。
样例输入:
box
样例输出:
Boxes
-English words in complex problems
Write a program, the rules of English nouns English words) (without regard to the following rules are not met by the singular into plural. Known rules are as follows:
a) to the end of the consonants y, then y changed to i, plus es
b) s, x, ch, sh End, then add es
c) end with a vowel o add es
d) other circumstances directly add s.
Requirements of the rules of English nouns, keyboard input and screen output of the plural form of the noun.
Sample input:
box
Sample Output:
Boxes
(系统自动生成,下载前可以参看下载内容)
下载文件列表
c#yingwendanciqiufushu.doc