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
how will you test a wine filled bottle along with 100 glasses
What is the limit for test steps?It should be 10/20/30etc
What is Independant Testing? When and where this type of testing will be performed?
Write the 10 high test cases for making video call/face time
During alpha testing why customer people are invited?
Hi,Please can any one tell me about SAP Testing concepts.
What is benchmark testing? hi friends... can anyone suggest the correct answer plz...
can anyone help me regarding testing patterns?
Please is there any one working with ITR.COM? Having interview with them. Any tips will help.
what is API 2.0?
Hi friends, currently i am working with banking domain project in the part of testing..what kind of questions will be ask at interviews.. can anybody listout the project oriented questions which are asked in interviews...
What is the difference between action & script ?
What are the basic forms of variations?
What are the main key components in web applications and client and server applications?
!what are the entry criteria for antomation testing ?