Could Anybody tell me the VBscript for
REVERSE an Integer int reverse(int num) Ex:246 to 642
Answer Posted / lak
n=Inputbox("Enter Number Series to reverse")
for i=1 to len(n)
x=n mod 10
temp=temp&x
n=n/10
n=fix(n)
next
msgbox temp
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How will you convert a string to upper case string using vbscript?
Is vbscript a case-sensitive or case-insensitive?
Which object provide information about a single runtime error in a vbscript?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
how to set one column as primary key in QTP and fetch values accordingly
Explain the adodb.stream class?
What are the 2 ways in which a variable can be declared in the vbscript language?
Why is it recommended to close the database connection every time after the work is completed?
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.
how to write validation function for date in vb script
How will you convert a given number to long in vbscript?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
How to delete a cookie using vbscript?
How will you get the octal value of the given number in vbscript?
Explain about the asc function?