Skip to content

fibonacci and factorial programs with input and output#90

Merged
kostis merged 2 commits intokostis:masterfrom
orion-3464:simple_pcl_programs
Feb 27, 2026
Merged

fibonacci and factorial programs with input and output#90
kostis merged 2 commits intokostis:masterfrom
orion-3464:simple_pcl_programs

Conversation

@orion-3464
Copy link
Contributor

Two sample programs - fibonacci and factorial with corresponding input and output for testing

@kostis
Copy link
Owner

kostis commented Feb 27, 2026

Thanks for your contribution.

You've probably not noticed, but the repository contains these programs for other languages too (for example, factorial.dana for the Dana language) and there are already symbolic links to input and result files for these programs. I suggest that you modify these two PCL programs to have similar input/output behavior to the Dana ones and add symbolic links to the corresponding .input and .result files in the pcl/programs directory instead of new files there. Do these changes and I will merge the PR.

@kostis kostis merged commit f4a8314 into kostis:master Feb 27, 2026
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