Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


write a vb script to generate fibonnaci numbers



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

Post New Answer

More VB Script Interview Questions

Both Static and dynamic arrays are handled by VB script. Is it true?

0 Answers  


What is vbscript procedures?

0 Answers  


Diff between web table ,datatable and data base (QTP)

2 Answers   TCS,


write a vb script to generate hello 5 times using do until loop

4 Answers  


How to Import data from a file (file is on the desktop) to the data table

2 Answers   IBM,


Mention the rules for using option explicit statement?

0 Answers  


why do u choose to go for testing why cant for devoloping

0 Answers  


How can I write HTML text to the window in VB Script?

2 Answers  


how to automatically update the sql server2005 database records when insert in vb6?

0 Answers  


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?

1 Answers  


How many types of procedures are available in the vbscript language?

0 Answers  


Categories