C++ Programming Problem #4 : Fibonacci

Fibonacci sequence is simply by adding up the two numbers before it. The numbers are similarly related to Lucas Numbers which is another mathematical sequence. Problem #4 : Fibonacci //—www.skellainnovations.com—// #include<iostream> #include<conio.h> #include<windows.h> using namespace std; void gotoxy(int x, int y) { HANDLE hConsole = GetStdHandle(STD_OUTPUT_HANDLE); COORD pos; pos.X = x; pos.Y = y; SetConsoleCursorPosition(hConsole,pos); […]

More