Created
December 4, 2018 08:20
-
-
Save whopiyush/0e44d2cbd58513aa3b8fe3f1a8751754 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <iostream> | |
| #include <conio.h> | |
| using namespace std; | |
| int main() | |
| { | |
| int a,d , fib1 = 0, fib2 = 1, fib3 = 1; | |
| cout << "Enter number"; | |
| cin >> a; | |
| while(fib1 + fib2 < 100) | |
| { | |
| fib1 = fib1+fib2; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment