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! this is vivek i am having some of the questions can u clarify it sir 1.what is the model you are following in software development?what is your testing process?
How would you determine the performance of a web application by looking at the values of ‘Response Time’ and ‘Pages per Second’? What do you understand by the terms ‘Response Time’, ‘Pages per Second’, ‘Transactions per Second’?
what are the bugs in job portals and hospital managemant projects..if anyone havin experience in testin these porjects then friends share your experience what could be the bugs
Do you think tools are required for managing change. Explain and please list some tools/practices which can help you managing change.
with out any training on domain with out any document only with the help of build screen is it possible to write testcases
What is defect life cycle/
What are the differences between V-Model and Agile Model?
1.What is bidirectional traceability ??? and how it is implemented? 2.What is Automation Test frame work ? 3. Define the components present in test strategy? 4. Define the components present in test plan? 5. Have u written Test plan ?…. thank u!plz reply........
what is an inconsistent bug? how to resolve this kind of bugs?
What are the tasks of test closure activities in software testing?
what is bug life cycle?
What is a failure?