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
How to open browser in vb script?
what is the features of visual basic?
Write a code to print numbers from 5 to 0?
Which function is used to perform string comparison?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
How to delete a cookie using vbscript?
What is the difference between VBScript and JavaScript?
Which object is used to work with the excel sheets in the vbscript language and what statement is used to create this object?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
What is the difference between vb debugger and the script debugger?
In the Web page we have a table link, if we click on that link all the contents under that link will be sorted (asscending/Descending). Now i want to check in which order the list is ? for that i need to get the data in to some var How can i get that cells data?
In html file what is an ideal position to include vbscript?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
How to add actions in driver script to run those actions in QTP?
Which constant is used for print and display functions and works as same as pressing enter key?