Click here to Skip to main content
16,020,822 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi,
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.
Posted
Comments
Venkatesh Mookkan 15-Dec-10 4:36am    
What are you trying at?
Abhinav S 15-Dec-10 4:37am    
Your question is not at all clear - sorry.
Abdul Quader Mamun 15-Dec-10 5:49am    
Home work?

1 solution

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.
 
Share this answer
 
Comments
Vigneshb6 15-Dec-10 7:03am    
good

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900