Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings

2697


How do you use a pointer to a function?

1029


What do the functions atoi(), itoa() and gcvt() do?

1140


Why is c faster?

1018


What is difference between structure and union in c programming?

1021


Is c dynamically typed?

1093


Can the size of an array be declared at runtime?

1029


Explain 'bus error'?

1018


What are the two types of structure?

1042


What is the difference between array_name and &array_name?

1242


Why is c called c?

959


Why we not create function inside function.

2145


Is it possible to execute code even after the program exits the main() function?

1283


What is c value paradox explain?

1023


Why c is called a mid level programming language?

1026