Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How to make sure that items in a wintree are sorted al?

2845


When to use function procedures and what are its characteristics?

1082


What methods are used to create text files and open text files in the vbscript language?

987


Mention what is variant in vbscript?

945


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.?

2498


why variable name should not exceed 255 characters?

2231


How to Import data from a file (file is on the desktop) to the data table

2070


How can you create a file object to work with the files in the vbscript language?

951


What are class events?

980


what is the object hyrarchy in QTP for a web based application

2398


What is vbscript language used for and which earlier language is it modeled upon?

1006


Mention what is the difference between vbscript and vba?

1054


What are the naming conventions while declaring a variable in the vbscript language?

1045


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

2502


How are values assigned to the variables in the vbscript language?

1065