Input = 124

output should be 124421
Please do not use any string functions/variables

Answer Posted / eswar

'Numbers can be given at run time
For i=1 to 3
s =InputBox("Enter a number : ")
x = x&s
y = StrReverse(x)
Next
MsgBox x&y

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

give me any information abou vb script books learn quckly

1641


How to declare an array in vbscript?

655


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

1717


There are 5 web pages.write a script to click the button on 4th web page.

2923


write any ttest cases using check points and parameterization

1803






how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12853


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2052


Explain about scrrun.dll?

515


How will you release the memory acquired by an array variable in vbscript?

733


What is the difference between vbscript and vba?

591


Explain the tristate constants in vbscript?

549


If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?

1541


How to assign a numeric value to a variable?

602


Mention what is vbscript procedures?

524


How are comments handled in the vbscript language?

497