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 |
Mention the rules for using option explicit statement?
write a Vb script to find a whther a selected drive exits.
How will you get the largest subscript of an array in vbscript?
Suppose by navigation I went from 1 st page to 5 page ,so Write a generic script for coming from any page to the 1st page and by executing where the page may be it will come to 1st page
How will you convert a string to upper case string using vbscript?
Explain few date functions in vbscript?
How to create a cookie using vbscript?
How can you fetch the value of a cookie?
How to map test cases with Automation script? Please explain in details.With example Thanks for your co-operation(In Advance)
i want to when we will write the scripts either after getting the build or after getting the SRS?
when you use For Loop, While..do, do..while? at what situations which loop will use.
What is purpose of scripting.filesystemobject class in vbscript?