文件名称: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
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.