Input = 124

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

Answer Posted / bibhu

Hi Eswar,

The catch here is to not using any vb script functions

Thanks,
Bibhu

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the date function in the vbscript language?

564


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1771


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

2356


How will you get the exponent of the given number in vbscript?

558


How you can call vbscript functions?

579






What is the difference between for loop and while loop?

550


Which operator can be used to do an xor operation in vbscript?

680


Explain about the asc function?

603


Explain vbscript in detail?

617


How to open browser in vb script?

582


What are class variables?

616


Explain the arrays in vb script?

588


What is the purpose of the err object in the vbscript language?

624


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

542


Both Static and dynamic arrays are handled by VB script. Is it true?

609