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 write validation function for date in vb script
How to open a file. What is the perpose of true and false mode there?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
What are subprocedures in vbscript?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
what is the difference between modular and data and keyword driven framework
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What are the different types of loops available in the vbscript language?
How to open excel in vb script?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
How to throw an error in vbscript?
Mention what is the use of option explicit in vbscript?
What is the purpose of on error resume next statement?
what is resorceallocation