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 |
what is diff b/n these 2 programs 1) for i=5 to 1 step 2 msgbox "pass" next 2_) for i=5 to 1 step -2 msgbox "pass" next
Write a program to display the numbers in the below format using for loops? 1 2 3 4 5 6 7 8 9 10 11 12 and Write a program to display the numbers in the below format using for loops. 1 2 3 4 5 6 7 8 9 10
i have to open a notepad having no. of words in dat file by recording in qtp and then find a particular word and display true or false
Explain about tristate constants in vbscript?
Which operator can be used to do an xor operation in vbscript?
What is the use of the formatdatetime function in the vbscript language?
Find Out Length of an array without using Ubound?
Which operator is used to perform the comparison among 2 operands in the vbscript language?
Join the multiple array with out using JOIN function
hi, How will write a regular expression of date in VB scripting.
what is the features of visual basic?
write a program to display the system specifications of client system with the help of vbScript.