How can your reverse a sentence("I LOVE MY COUNTRY" to
"COUNTRY MY LOVE I")
Answers were Sorted based on User's Feedback
Answer / tanmoy saha
<?php
$main = 'I LOVE MY COUNTRY';
$main_arr = explode(' ',$main);
$rev_arr = array_reverse($main_arr);
echo implode(' ',$rev_arr);
?>
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / uday
arr=split(str," ")
for i=ubound(arr-1) to 0 step-1
revstr=arr(i)&" "
next
| Is This Answer Correct ? | 5 Yes | 3 No |
Answer / 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 |
Hi all, i am planning to take ISTQB CERTIFICATION, can any one guide me by giving the links for preparing for the exams. If anyone have some materials can u send me to my mail id vpbharathi@gmail.com. Thanks in advance, Bharathi.P
What are all the documents you are going to submit at the time of release as a testlead?
Differentiate regular regression testing and final regression testing.
What is defect masking?
write 3 major bugs in inventory management system ...give 3 system test case and 3 integration test case
what is the proper definition of Slippage Ratio? Thanks in Advance. Regards, M.MurthySharma.
Notepad(Editor),we test is which type of testing? a)Functionality Testing,b)Compatability Testing,c) All,d) None
Smoke testing done by whom
How will you test or write test cases when you dont have BRS and SRS?
What is boundary value testing? Give an example.
0 Answers Agilent, ZS Associates,
what are the things we consider when perform the UI testing of any web application please suggest me with basic things?
can any body tell me vat is the status of the bug when it is going for retesting and where we write the bugs in case of retesting