Input = 124
output should be 124421
Please do not use any string functions/variables
Answer Posted / ramesh
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
Please explain this...........i am new to vb script
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what do you mean .ota mobile format
What is select case statement?
What is the difference between vb debugger and the script debugger?
What are class variables?
Which operator can be used to check if two numbers are equal or not in vbscript?
can anyone tell me the procedure of interview held in applabs
What is the purpose of on error resume next statement?
When does ‘on click of button’ event gets triggered in the vbscript language?
What's the difference between vbscript and vb.net?
What are string functions in vbscript?
In what way program "hello world" you can write in vbscript?
Is VB Script Case sensitive or Case insensitive?
Mention what are the rules to name variable in vbscript?
How will you convert a given number to long in vbscript?
Which keyword is used to declare a variable in the vbscript language?