Input = 124
output should be 124421
Please do not use any string functions/variables
Answer Posted / manjunathareddy
Dim n
Dim s
Dim x
input=124
n=124
While int(n)>0
s=n mod 10
x=x&s
n=Int(n)/10
Wend
Msgbox input&x
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
what do you mean .ota mobile format
How will you release the memory acquired by an array variable in vbscript?
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?
Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..
what types of bugs will we find out in banking projects for automation testing?
what is the object hyrarchy in QTP for a web based application
Explain about scrrun.dll?
Hi Friends, I have an issue like the describe below: I'm using QTP and I'm testing on SharePoint. As you knoe, SharePoint has a customize function for user, so that, If I add an object Web Table at the first time, that object was recognized by "index" and "html tag", after that, if someone change the display of web part, the "Index" of my object was changed as well and QTP unable to select that Web Table. Can you guide me how to identify or anyway to keep that Web Table object as unique object? Thanks a lot.
How to create a cookie using vbscript?
Which data type/types are supported by vbscript language and what are their specialties?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
what is the differance between BYVAL,BYREF?
How to write functions and sub in vb script?
What is the purpose of on error resume next statement?
Mention what if you do not specify anything when you call a procedure?