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

If else for do while select in vb script?

1135


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.

2053


How will you get a string with the specified character the specified number of times in vbscript?

1000


Which operator is used to concatenate the 2 values in the vbscript language?

994


What are the disadvantages of vbscript?

1228


What is the difference between a dictionary and an array?

1049


why do u choose to go for testing why cant for devoloping

2056


what is the difference between modular and data and keyword driven framework

2244


Explain the support of asp for vb script functionality?

1047


How will you get the largest subscript of an array in vbscript?

1147


If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?

975


What are the different types of operators and their order of precedence?

1024


Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.

2097


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

2379


1. How do declare public variable in vb scripts?

2102