adspace


Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3
5 4 5

Answer Posted / pushkar1206

a=inputbox("enter number")
b=len(a)
For i=b to 1 step -1
c=left(a,i)
d=d&c&vbnewline
Next
msgbox d

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How software tester can use constants and variables in scripts?

2361


I am in .Net development for past 3.5 years and want to enter in to automated testing and learn QTP. For this I need some good tutorial for beginners. I will be really greatful if any one has and they can send it to me on this address- ruchidureja@gmail.com

2088


Can you brief the hurdles you faced during Automation testing?

1149


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

2185


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2230


hi i have 4 yrs exp in manual and automation testing using QTP i need sample resumes plz can u send this mail id pbre1980@gmail.com

1948


How are actions and functions different in QTP?

1165


Hi. please provide license key for QTP 9.2, I have windows XP on my machine Thanks in Advance, moreshwar

3322


we use a file extension .properties why is it used and where do we use it plz help me out with detailed explanation and navigation of how to use on the QTP 8.2?

2158


Hybrid framework supports Descriptive programming. Is it true?

1245


Tell some commonly used Excel VBA functions?

1148


Define Environment Variable in UFT and its uses?

1165


HOw to add the recovery file at runtime to the test file .

2306


Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

2010


What is the registration process and examination fees?

1177