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
What is sql loader? Explain the files used by sql loader to load file?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
Mention what is the difference between vbscript and vba?
What are the differences between sub procedures and function procedures?
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?
1. How do declare public variable in vb scripts?
Mention what is variant in vbscript?
How do you declare a variable in vbscript?
what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?
What aspects of vbscript make it safe so that a web page using vbscript cannot destroy or corrupt information on a user's computer?
Write a Script for ATM in QTP
Can automation testing find ssame no. of bugs what we can find by manual testing?