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


Please Help Members By Posting Answers For Below Questions

Hi Frnds, this is Aman.. can anybody tell me plz what kind of QA Interview questions are asked by IDS Infotech Ltd., Chandigarh? I have lil bit experience only in Manual Testing.. Plz answer my question as soon as possible.. Thnx in advance..

1906


How can you define state tanstion testing aswell decesion testing with examples.how you can differ them too??

1775


Explain stub in testing point of view?

705


Anyone tell me the test cases of Shopping Favorite

1513


Hi everyone, My name is Salil Mishra. I am having 1.7 years of experience in manual testing. But as i m 2008 passout, there are limited position for me in the companies. Please help me out in getting a good job guys..I f you find something then please mail me at salilmishra29@gmail.com

1526






What are the advantages of automation over manual testing?

707


test cases on bangles???

2543


Can you explain v model in manual testing?

685


Can any one give a summary of testing a territory management system? what would be the test scenarios, few test cases. how it works.

1531


1.Enlist the types of testing performed for any window in sequence? 2.Use of edit_get_list function 3.Accuracy & Precision

1693


Hi, My name is Dinesh.I want to prepare for ISTQB certification , So can anyone please email me the syllabus of it and what is criteria for giving exam.Please email me answers at: dinesh0323@live.com

4220


in transfer funds module, how you come to know that amount has been transferred successfully or not....explain in detail

1148


in an online banking software,users are connecting to bankserver by login.This login module can take below inputs for user. a/c number prefix-3 digits but doesnot start with 0&1 a/c number sufix-6 digits number password-5to 10 chars alphanumerics in lowercase areacode-3 digits number but optional purpose- cheque deposit money trasfer mini statement bills pay After filling above fields,user can click submit button to connect to bank server.prepare test scenarios for online banking s/w login.

1520


What is positive and negative testing?

669


Hi friends Does anyone have screen shot of POWERMHS and please can anyone post anything which will be helpful to understand POWERMHS. thanks.

2521