write a vb script to generate fibonnaci numbers
Answer / 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 |
Both Static and dynamic arrays are handled by VB script. Is it true?
What is vbscript procedures?
Diff between web table ,datatable and data base (QTP)
write a vb script to generate hello 5 times using do until loop
How to Import data from a file (file is on the desktop) to the data table
Mention the rules for using option explicit statement?
why do u choose to go for testing why cant for devoloping
How can I write HTML text to the window in VB Script?
how to automatically update the sql server2005 database records when insert in vb6?
When importing an excel file that has several columns each with different number of rows into QTP's Global datatable, how can you count the number of rows in a particular column?
3 Answers Logica CMG, McGraw Hill,
What is difference between Active screen and movie screen recorder in QTP 9.2?
How many types of procedures are available in the vbscript language?