Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- int main()
- {
- int y = 0;
- int x = 1;
- int z;
- int fibonacci;
- fibonacci;
- z = x + y;
- y = x;
- x = z;
- std::cout << x;
- if (x <= 10000);
- {
- goto fibonacci;
- }
- else
- if (x >=10000)
- {
- return 0;
- }
- }
Add Comment
Please, Sign In to add comment