hi guys, could you please prepare script for given format ?
1,1,2,3,5,8,13,21,...etc use vbscript for this...?

Answers were Sorted based on User's Feedback



hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript f..

Answer / phani daddanala

dim a, b, c
a=1
b=1
c=a+b
print a
print b
print c
while c<=100
print c
a=b
b=c
c=a+b
wend

Is This Answer Correct ?    4 Yes 1 No

hi guys, could you please prepare script for given format ? 1,1,2,3,5,8,13,21,...etc use vbscript f..

Answer / madhumita baitalik

Sub Fibonacci()
a = 0
b = 1
For i = 1 To 10
c = a + b

a = b
b = c

msg1 = msg1 & "," & b

Next
Msg = "The string is 1" & msg1

MsgBox Msg

End Sub

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More QTP Interview Questions

For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

0 Answers  


What is the use of "Step Generator" in QTP??for what purpose we are using??explain with an example

2 Answers  


How to change the run-time value of a property for an object in QTP?

4 Answers  


How can you Open a Notepad and How can you write the test Resuts in Notepad by Using QTP?

3 Answers  


What does it mean when a check point is in red color? what do u do?

1 Answers  






how can we compare descriptive programing with a regular expression

0 Answers  


what is review

0 Answers  


What is API?

1 Answers  


Plz someone tell me about user interface testing and backend testing and hw did u use it in ur project.plz give a detail answer i need to explain it to the interviewer. plzzzzzzzzz guys its urgent

2 Answers  


Explain actions in qtp ?

0 Answers  


Pls let me know how to find out creation time and index for the web application in descriptive programming?

2 Answers   HP,


wht is the difference betn check point and output value?

5 Answers   BirlaSoft,


Categories