Skip to content

Comments

Add sample fibonacci numbers#15550

Merged
straight-shoota merged 4 commits intocrystal-lang:masterfrom
666hwll:master
Mar 31, 2025
Merged

Add sample fibonacci numbers#15550
straight-shoota merged 4 commits intocrystal-lang:masterfrom
666hwll:master

Conversation

@666hwll
Copy link
Contributor

@666hwll 666hwll commented Mar 11, 2025

This piece of code outputs the first 10 fibonacci numbers.

@straight-shoota straight-shoota linked an issue Mar 28, 2025 that may be closed by this pull request
@straight-shoota
Copy link
Member

The change is approved, but it needs a format before we can merge it (crystal tool format samples/fibonacci.cr).

@666hwll
Copy link
Contributor Author

666hwll commented Mar 28, 2025

Thx, will do asap.

@straight-shoota straight-shoota added this to the 1.16.0 milestone Mar 28, 2025
@straight-shoota straight-shoota merged commit 5762d2e into crystal-lang:master Mar 31, 2025
31 of 32 checks passed
@straight-shoota straight-shoota changed the title added fibonacci sample Add sample fibonacci numbers Mar 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adding a fibonacci sample

3 participants