How can your reverse a sentence("I LOVE MY COUNTRY" to
"COUNTRY MY LOVE I")
Answer Posted / ravi yellasiri
string s = "I LOVE MY COUNTRY";
// reverse string s
// "YRTNUOC YM EVOL I";
s = string.reverse(s);
// Split s with " " delimiter
string[] arr = s.split(" ");
// process till last-1 token
for(int i = 0; i < arr.Length-1; i++)
{
print (arr[i]);
print (" ");
}
// Print the last token...
print (arr[arr.Length-1]);
| Is This Answer Correct ? | 1 Yes | 3 No |
Post New Answer View All Answers
hai friends can u expalin about real time process of testing at the company, like flow diagram
What is difference between cmmi and cmm levels?
Describe your personal software development process.
How to test a Falsh player scrollings?
what is JAVA TESTING? What Testers will do in JAVA Testing. Can any one Give suitable Ans Pls. it's urgent
What are the main key components in web applications and client and server applications?
What is the big deal about ‘requirements’?
Why performance testing is performed? What are tools of performance testing?
Can any one explain me about hybrid integration testing? and what is interface in integration testing? thanks in advance...... regards, MurthySharma.Manchella
how is market for testing in banglore,chennai,pune,delhi?
What does 100% statement coverage mean?
we are about to implement a Test tool to test the performance of website, so what script does a tester should know (friends plz help me)
Test cases on send/ receive button of Microsoft outlook.
What is exploratory testing and when should it be performed?
hi what are the test cases for web application..i need these example..please..mail me at mina_ims@yahoo.com