(c#)输入一个字符串,然后进行加密加密规则每个字符串加4,例如china加密后glmre
(c#)输入一个字符串,然后进行加密加密规则每个字符串加4,例如china加密后glmre
日期:2010-03-23 16:31:33 人气:2
在主类上写下下面代码就行了
string a = Console.ReadLine();
for(i=0;i<a.length;i++)
{
a[i]+=4
string str +=a[i];
}
response.write(str);