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
filter the array values without using filter function?
Mention what is the difference between vbscript and vba?
How will you convert a string to upper case string using vbscript?
what is the object hyrarchy in QTP for a web based application
What is the use of the date function in the vbscript language?
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
what is the use of QCUtil? explain with one example?
How will you get a string with the specified character the specified number of times in vbscript?
Explain the scope of the variables using dim, public, and private keywords respectively.
How can you destroy an object in vbscript?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Explain about the extension .hta?
What is the purpose of drive object of scripting.filesystemobject class in vbscript?
What purpose does ‘on error resume next’ serves?
can anyone tell me the procedure of interview held in applabs