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
wht must be the interview question on corinthian information technology solutions incorporated.
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
How are comments handled in the vbscript language?
What is the purpose of the err object in the vbscript language?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Explain about scrrun.dll?
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
How will you release the memory acquired by an array variable in vbscript?
i am having some basic knowledge in c and VB 6.0. i qtp i want to know how to write the codings. by recording it is generating lot of codings. for example i want to test the text box. senerio is text box should not accept alphabets if it accept alphabets we should return fail status if it get number we should return pass status. how to write coding in vb script please help me
Which operator can be used to do an xor operation in vbscript?
Why to use option explicit in vb script?
PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com
Explain the constants in vbscript?
What are the properties of regexp object?
Explain vbscript in detail?