Skip to content

Add Even Odd in ALGOL 60#5363

Open
rzuckerm wants to merge 6 commits intoTheRenegadeCoder:mainfrom
rzuckerm:algol60-even-odd
Open

Add Even Odd in ALGOL 60#5363
rzuckerm wants to merge 6 commits intoTheRenegadeCoder:mainfrom
rzuckerm:algol60-even-odd

Conversation

@rzuckerm
Copy link
Collaborator

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder!
For simplicity, please make sure that your pull request includes one and only one contribution.

Please fill one of the sections below as applicable.
Please also add any other relevant information to the Notes section at the bottom.
You may delete or just ignore any other sections.

Please fill in the checkbox like this:

[x]

Not like these:

[x ]
[ x]
[ x ]

Please put in the relevant issue number in the I fixed #your-issue-number-here item. For example, if your PR is
for an issue called Add Convex Hull in C++, and that issue number is 5164, change your-issue-number-here
to 5164. Do not put any space between # and the issue number. This is important because when the PR is merged,
the corresponding issue will be closed.

For more information please refer to our contributing documentation

I Am Adding a New Code Snippet in an Existing Language

Other Notes

It takes a lot of code to write an integer parser and validator in ALGOL 60 since this language has no exception processing or string variables (except for hard-coded strings that are passed into a function). Also, ALGOL 60 has no modulo operator. The % is an integer divide.

@github-actions github-actions bot added enhancement Any code that improves the repo even odd See: https://sampleprograms.io/projects/even-odd/ labels Mar 16, 2026
@rzuckerm rzuckerm marked this pull request as ready for review March 16, 2026 23:44
@rzuckerm rzuckerm enabled auto-merge (squash) March 16, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Any code that improves the repo even odd See: https://sampleprograms.io/projects/even-odd/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Even Odd in ALGOL 60

1 participant