Input = 124
output should be 124421
Please do not use any string functions/variables
Answer Posted / bherolal bhargav
i=cint(inputbox("Enter 3 digit No."))
i = i*1000+((i mod 100) mod 10)*100+((i mod 100) -(i mod
100) mod 10)+i\100
msgbox i
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
If else for do while select in vb script?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
How will you get a string with the specified character the specified number of times in vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
What are the disadvantages of vbscript?
What is the difference between a dictionary and an array?
why do u choose to go for testing why cant for devoloping
what is the difference between modular and data and keyword driven framework
Explain the support of asp for vb script functionality?
How will you get the largest subscript of an array in vbscript?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
What are the different types of operators and their order of precedence?
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
what is the object hyrarchy in QTP for a web based application
1. How do declare public variable in vb scripts?