本文介绍了使用数组的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如果字符串名称类似于"RJSHEA",这是RAJESH的名称,则没有逗号分隔符,因此我需要RJSHEA的编码才能打印RAJESH.谁能帮我.
If the string name is like "RJSHEA", It is the name of RAJESH, there is no comma separator, so i need a coding for RJSHEA to print RAJESH. Can anyone help me. thanks in advance.
推荐答案您需要编写代码,依次读取以下字符并在输出中打印.参见字符读取顺序: R J S H E A 1 3 5 6 4 2 我为您提供了帮助,但没有提供代码,因为在我看来这就像是作业或面试的问题:).我希望您能够解决它. You need to write a code which reads the following characters in sequence and prints in output. See the order of character read: R J S H E A 1 3 5 6 4 2 I provided you the hit, and, didn''t provide you the code because this seemed to me like a homework or interview question :). I hope you would be able to resolve it.
更多推荐
使用数组的字符串
发布评论