Answer Posted / mudaseer
vnum=inputbox("enter a number")
i=0
j=1
vstr=i & "," & j & ","
msgbox vstr
for x=1 to vnum-2
k=i+j
vstr=vstr & k & ","
i=j
j=k
next
msgbox vstr
vnum=inputbox("enter a no")
i=0
j=1
vstr=i & "," & j & ","
msgbox vstr
for x=1 to vnum-2
k=i+j
vstr=vstr & k & ","
i=j
j=k
next
msgbox vstr
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What purpose does ‘on error resume next’ serves?
Mention the rules for using option explicit statement?
Write a Script for ATM in QTP
Mention what are the rules to name variable in vbscript?
Explain the asc function?
Explain a few date functions in vbscript
how to acces the remote mechine using vb cript(QTP)
how to comvert 120 into one hunderd twenty rupees only and vice varsa
How to make professional test report using vbscript code in UFT, which gives us complete analysis of the test.
What is the use of option explicit in vbscript?
How to throw an error in vbscript?
What is select case statement?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
What are the environments supported by vbscript language?
Which object provide information about a single runtime error in a vbscript?