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
What is friend class in c++ with example?
What is flush programming?
What is bubble sort c++?
How compile and run c++ program in turbo c++?
When should overload new operator on a global basis or a class basis?
What is a driver program?
How do you clear a map in c++?
Write about c++ storage classes?
What is c++ and its features?
What is long in c++?
Why is c++ awesome?
What is function prototyping?
What is a modifier in c++?
What is #include cmath?
what are the events occur in intr activated on interrupt vector table