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...

Write the program for fibonacci in c++?

Answer Posted / techbots

#include<iostream>
void main()
{
int x=1,y=0;
while (x<200)
{
cout<<y<<endl;
x=x+y;
y=x-y;
}
}

Is This Answer Correct ?    34 Yes 53 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is friend class in c++ with example?

1118


What is flush programming?

1058


What is bubble sort c++?

1064


How compile and run c++ program in turbo c++?

1240


When should overload new operator on a global basis or a class basis?

1135


What is a driver program?

1156


How do you clear a map in c++?

1185


Write about c++ storage classes?

1250


What is c++ and its features?

1075


What is long in c++?

1300


Why is c++ awesome?

1085


What is function prototyping?

1172


What is a modifier in c++?

1211


What is #include cmath?

1144


what are the events occur in intr activated on interrupt vector table

1799