compute the nth mumber in the fibonacci sequence?
Answer Posted / sharma v
Can anyone tell why it is going in an infinite loop
dim a, b, c
a=0
b=1
c=a+b
print a
print b
n=InputBox( "Enter a number")
while c<=m
print c
a=b
b=c
c=a+b
wend
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a pointer on a pointer in c programming language?
What does void main return?
What is action and transformation in spark?
What is wrong with this declaration?
Why does everyone say not to use gets?
What is a program flowchart and how does it help in writing a program?
Is c procedural or functional?
How variables are declared in c?
What are the two types of functions in c?
Does c have circular shift operators?
Describe the steps to insert data into a singly linked list.
What are valid operations on pointers?
Why & is used in scanf in c?
write a program using linked list in which each node consists of following information. Name[30] Branch Rollno Telephone no i) Write the program to add information of students in linked list
What is indirection in c?