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

What is a pointer on a pointer in c programming language?

1139


What does void main return?

1118


What is action and transformation in spark?

1160


What is wrong with this declaration?

1105


Why does everyone say not to use gets?

1099


What is a program flowchart and how does it help in writing a program?

1137


Is c procedural or functional?

1024


How variables are declared in c?

1037


What are the two types of functions in c?

1004


Does c have circular shift operators?

1231


Describe the steps to insert data into a singly linked list.

1070


What are valid operations on pointers?

1195


Why & is used in scanf in c?

1098


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

2801


What is indirection in c?

1065