Skip to content

add fibonacci recursive#46

Merged
kostis merged 3 commits intokostis:masterfrom
ntua-el20199:new-program-branch
Feb 18, 2025
Merged

add fibonacci recursive#46
kostis merged 3 commits intokostis:masterfrom
ntua-el20199:new-program-branch

Conversation

@ntua-el20199
Copy link
Contributor

No description provided.

@kostis
Copy link
Owner

kostis commented Feb 18, 2025

Thanks for your contribution.

Since this program already exists for other languages (e.g. alan/programs/fibonacci.alan), for uniform testing it's better that it takes its input without any printing of a prompt (i.e. without "Enter a number") and outputting its result in the same way as the corresponding Alan program. Then we can simply add symbolic links to the corresponding input & result files in the Alan dir.

Please do these changes and I will merge this.

@ntua-el20199
Copy link
Contributor Author

I believe it should now comply with the alan Fibonacci input/output

Add new line before EOF
@kostis kostis merged commit 3d1596f into kostis:master Feb 18, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants