int number( int nth )
{
if( nth<=1 )
return nth;
else
return number( nth - 1 ) + number( nth - 2 );
}
#include <iostream>
using namespace std;
int main()
{
int nth=0;
long long unsigned int first = 0, second =1, total = 0;
cout<<"nth?"<<endl;
cin>>nth;
for(int i=1; i<nth; i++)
{
total=first + second;
first=second;
second = total;
}
cout<<total;
system("pause");
return 0;
}

#include <windows.h>
#include <iostream>
using namespace std;
int WhatTheFuck(int lolwat);
int main()
{
while(1)
{
int gtfo;
cout<<"Input: ";
cin>>gtfo;
cout<<"Output: "<<WhatTheFuck(gtfo)<<endl;
}
return 1;
}
int WhatTheFuck(int lolwat)
{
if(lolwat<2) return 0;
else return ((lolwat-1)+(lolwat-2));
}
#include <windows.h>
#include <iostream>
using namespace std;
int WhatTheFuck(int lolwat);
int main()
{
cout<<"That guys sequence goes: ";
for(int i=0;i<100;i++)
{
cout<<WhatTheFuck(i);
if((i%10)==9) cout<<endl;
else cout<<", ";
}
return 1;
}
int WhatTheFuck(int lolwat)
{
if(lolwat<2) return 0;
else return ((lolwat-1)+(lolwat-2));
}
