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 the difference between variable declaration and variable definition in c?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
Why is #define used?
How do you write a program which produces its own source code as output?
What are the storage classes in C?
Explain the Difference between the New and Malloc keyword.
Does c have enums?
write a program to reverse a every alternetive words in a string in a place. EX: Input is "this is the line of text" Output should be "shit is eht line fo text" Please any one tell me code for that.
How many identifiers are there in c?
What does 3 mean in texting?
what is the syallabus of computer science students in group- 1?
How we can insert comments in a c program?
What is pointer to pointer in c language?
Define Array of pointers.
What is sorting in c plus plus?