使用数组的字符串

编程入门 行业动态 更新时间:2024-10-26 18:27:17
本文介绍了使用数组的字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如果字符串名称类似于"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.

更多推荐

使用数组的字符串

本文发布于:2023-10-11 13:50:40,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1481878.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数组   字符串

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!