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
Mention what is the main difference between function and sub-procedure?
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?
How will you get the last occurrence of one string within another string using vbscript?
did any one attended interview in applabs if you had gone through plz tell me the procedure
What is the difference between for loop and while loop?
How will you format a number in percetage format in vbscript?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
Explain vbscript in detail?
Hi Friends my Question is very simple,in Manual testing when we click on a hyper link it directs us to the relavent page or it re-directs us to the current page,so there we can easily write testcase but same thing if we do in automation script using QTP & need to generate report using Reporter.report event how we will do it?thanks in advance...
How to get the length of the string by making use of the string function?
What are subprocedures in vbscript?
Why is error handling required?
Explain the support of asp for vb script functionality?
Mention what is the difference between vbscript and vba?
How can the spaces from the string be removed?