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 can constants be declared in the vbscript language?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
Explain different types of segment?
What are class variables?
How to access array data?
Explain about tristate constants in vbscript?
Which in-built function is used to format the number in the vbscript language?
Write a function for Instr(). We need to write a function that works as same as Instr(). Code or Even pseudo code is good enough for me.?
Mention what is byref and byval parameters in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
How will you get the octal value of the given number in vbscript?
where can i learn VB scripint ?
What is event handling in vbscript?
Which constant is used for print and display functions and works as same as pressing enter key?
How to use QTP Object in .vbs(vbscript file) file Ex: Browser().., wait(), exist() and etc...