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
Mention what if you do not specify anything when you call a procedure?
Explain the extension .hta?
How will you convert a string to lower case string using vbscript?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...
What are events in the vbscript language?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
filter the array values without using filter function?
What is purpose of scripting.filesystemobject class in vbscript?
how to operate webobjects in a webpage using getobject function and then using generic methods?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
What are class variables?
how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me
How will you get a combined string from array of string in vbscript?
Give me sm ideas to write Vbscripts abt protocol testing abilash700@gmail.com.