int a=4857 i need output as 7584.without using any inbuild
function?
Answer Posted / sumathi
var=4857
For i=1 to len(var)
x=var mod 10
num=num&x
var=var/10
var=fix(var)
Next
print num
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What methods are used to create text files and open text files in the vbscript language?
How are comments handled in the vbscript language?
Is vbscript a case-sensitive or case-insensitive?
Develop a parameterized action that accomplishes the following a. Launch a browser of users choice ( example : IE, chrome etc) b. Open up a search engine (Google, Bing etc) c. Perform a search d. Click a particular link depending on the user’s choice ( 1st , 2nd or third link)
What is vbscript procedures?
How will you compare two strings in vbscript?
What is sql loader? Explain the files used by sql loader to load file?
Why is error handling required?
What are subprocedures in vbscript?
What's the difference between vbscript and vb.net?
Mention what are the rules to name variable in vbscript?
What are string functions in vbscript?
Explain about tristate constants?
How can constants be declared in the vbscript language?
how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me