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 / ramesh

Dim n
Dim s
Dim x
input=124
n=124
While int(n)>0
s=n mod 10
x=x&s
n=Int(n)/10
Wend
Msgbox input&x



Please explain this...........i am new to vb script

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what do you mean .ota mobile format

2465


What is select case statement?

1031


What is the difference between vb debugger and the script debugger?

1109


What are class variables?

1019


Which operator can be used to check if two numbers are equal or not in vbscript?

1148


can anyone tell me the procedure of interview held in applabs

2170


What is the purpose of on error resume next statement?

975


When does ‘on click of button’ event gets triggered in the vbscript language?

985


What's the difference between vbscript and vb.net?

1083


What are string functions in vbscript?

1153


In what way program "hello world" you can write in vbscript?

1118


Is VB Script Case sensitive or Case insensitive?

1085


Mention what are the rules to name variable in vbscript?

1001


How will you convert a given number to long in vbscript?

868


Which keyword is used to declare a variable in the vbscript language?

929