Welcome to Dream.In.Code
Become a C++ Expert!

Join 136,918 C++ Programmers for FREE! Get instant access to thousands of C++ experts, tutorials, code snippets, and more! There are 1,761 people online right now. Registration is fast and FREE... Join Now!




fibonacci sequence

 
Reply to this topicStart new topic

fibonacci sequence, codes

youporn
16 Mar, 2008 - 08:10 PM
Post #1

New D.I.C Head
*

Joined: 16 Mar, 2008
Posts: 1

guys can anyone help me the simple codes on how to display fibonacci sequence in c++.
User is offlineProfile CardPM
+Quote Post

Martyr2
RE: Fibonacci Sequence
16 Mar, 2008 - 08:14 PM
Post #2

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,231



Thanked: 220 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
It is site policy that we can not provide you code without you showing a "best effort" attempt at doing it yourself. We are not into doing people's work for them but we are more than happy to help you with code you have written and are stuck on.

Having said that, have you tried actually doing a search on here? This topic is covered quite extensively here including already made snippet code to help you out. (Hint: check out the snippets C/C++ section of the site).

Thanks! smile.gif
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Fibonacci Sequence
16 Mar, 2008 - 08:14 PM
Post #3

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,495



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(youporn @ 16 Mar, 2008 - 09:10 PM) *

...how to display fibonacci sequence in c++.

I'm not going to find them for you in the code Snippets, Tutorials, or Google, so instead you get this :
cpp

#include <stdio.h>
int main(void) {
printf("fibonacci sequence\n");
return 0;
}

That will display fibonacci sequence quite nicely.
User is online!Profile CardPM
+Quote Post

Martyr2
RE: Fibonacci Sequence
16 Mar, 2008 - 08:15 PM
Post #4

Programming Theoretician
Group Icon

Joined: 18 Apr, 2007
Posts: 5,231



Thanked: 220 times
Expert In: C/C++, Java, VB, VB.NET, C#, PHP, Web Development, HTML & CSS, Javascript

My Contributions
QUOTE(no2pencil @ 16 Mar, 2008 - 09:14 PM) *

QUOTE(youporn @ 16 Mar, 2008 - 09:10 PM) *

...how to display fibonacci sequence in c++.

I'm not going to find them for you in the code Snippets, Tutorials, or Google, so instead you get this :
cpp

#include <stdio.h>
int main(void) {
printf("fibonacci sequence\n");
return 0;
}

That will display fibonacci sequence quite nicely.


laugh.gif

That is not very nice... but pretty funny.
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: Fibonacci Sequence
16 Mar, 2008 - 08:17 PM
Post #5

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,495



Thanked: 66 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(Martyr2 @ 16 Mar, 2008 - 09:15 PM) *

That is not very nice... but pretty funny.

Oh, I must have mis-understood his request tongue.gif

"At DIC we be code mocking ninjas" ph34r.gif
User is online!Profile CardPM
+Quote Post

captainhampton
RE: Fibonacci Sequence
17 Mar, 2008 - 07:23 AM
Post #6

Jawsome++;
Group Icon

Joined: 17 Oct, 2007
Posts: 518



Thanked: 2 times
Dream Kudos: 825
My Contributions
QUOTE(Martyr2 @ 16 Mar, 2008 - 09:15 PM) *

QUOTE(no2pencil @ 16 Mar, 2008 - 09:14 PM) *

QUOTE(youporn @ 16 Mar, 2008 - 09:10 PM) *

...how to display fibonacci sequence in c++.

I'm not going to find them for you in the code Snippets, Tutorials, or Google, so instead you get this :
cpp

#include <stdio.h>
int main(void) {
printf("fibonacci sequence\n");
return 0;
}

That will display fibonacci sequence quite nicely.


haha nice
laugh.gif

That is not very nice... but pretty funny.


User is offlineProfile CardPM
+Quote Post

Reply to this topicStart new topic
Time is now: 12/3/08 10:10PM

Live C++ Help!

C++ Tutorials

Reference Sheets

C++ Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month