int a=4857 i need output as 7584.without using any inbuild
function?
Answer Posted / mogal
a = 4857
Do while ( a>0 )
num = a mod 10
a = a / 10
output = output & num
loop
print output
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain a few date functions in vbscript
How will you get the largest subscript of an array in vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How to write functions and sub in vb script?
Which operator can be used to check if two numbers are equal or not in vbscript?
after medical test,when will be the police verification
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What are keywords in the vbscript language?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
What is the use of the formatdatetime function in the vbscript language?
Mention what is vbscript?
how does vb script help in web page designing? explain with example.
What are the different types of loops available in the vbscript language?
How will you convert a string to upper case string using vbscript?
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