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

Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?

3034


Mention how to assign a date value to a variable?

590


How will you get the natural logarithm of the given number in vbscript?

603


How do i automate a website www.flyashx.com without having any test cases witin a week time.

1458


A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.

1508






Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

576


how to automatically update the sql server2005 database records when insert in vb6?

1486


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

556


Explain about filter expression?

565


Write a test case using Test if the images,a particular test exists,check if the page links match,page response is within a certain range,parameterization of the test,the test should comprise of actions,the test should use a custom function,the test should use global repository

1792


What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?

579


Mention what is vbscript procedures?

537


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

1568


Explain the operator precedence in vb script?

656


Explain a few date functions in vbscript

558