Hi, Anybody could tell me What is the script for Reverse of
Given number. Ex:236--632. Thanks in Advance..
Answer Posted / anonimous
public int reverse (int num){
String b = Integer.toString(num);
char [] aa = b.toCharArray();
char []cc = new char [aa.length];
for (int m = 0; m < aa.length; m++)
cc[m] = aa[aa.length - 1 - m];
return Integer(String.valueOf(cc));
}
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How strcomp function works?
How will you convert a string to upper case string using vbscript?
Description.Create
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
What is the technology used by vb script?
Explain sga memory structures?
regular expression that will recognize a browser as long as its name property starts with mybrowser
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
There are 5 web pages.write a script to click the button on 4th web page.
Hi All, I am facing one problem in QTP. There is link object in my application that exist in the Frame in mozilla firefox. Click event on that object is not working but once the frame is enabled/activated then click event works fine.But the frame does not have the activate property. This problem is coming in firefox only. Regards
What is the difference between javascript and vbscript?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
What purpose does ‘on error resume next’ serves?