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
How to make sure that items in a wintree are sorted al?
When to use function procedures and what are its characteristics?
What methods are used to create text files and open text files in the vbscript language?
Mention what is variant in vbscript?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
why variable name should not exceed 255 characters?
How to Import data from a file (file is on the desktop) to the data table
How can you create a file object to work with the files in the vbscript language?
What are class events?
what is the object hyrarchy in QTP for a web based application
What is vbscript language used for and which earlier language is it modeled upon?
Mention what is the difference between vbscript and vba?
What are the naming conventions while declaring a variable in the vbscript language?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
How are values assigned to the variables in the vbscript language?