Skip to content

Add Even Odd in ALGOL 60#5363

Merged
rzuckerm merged 6 commits intoTheRenegadeCoder:mainfrom
rzuckerm:algol60-even-odd
Mar 17, 2026
Merged

Add Even Odd in ALGOL 60#5363
rzuckerm merged 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
@jrg94 jrg94 requested a review from a team March 17, 2026 14:00
@jrg94 jrg94 self-assigned this Mar 17, 2026
@github-project-automation github-project-automation bot moved this to In progress in Code Snippets Mar 17, 2026
@jrg94 jrg94 added this to the 1,500 Code Snippets milestone Mar 17, 2026
@rzuckerm rzuckerm merged commit 1f187bd into TheRenegadeCoder:main Mar 17, 2026
5 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in Code Snippets Mar 17, 2026
@rzuckerm rzuckerm deleted the algol60-even-odd branch March 17, 2026 18:06
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

Status: Done

Development

Successfully merging this pull request may close these issues.

Add Even Odd in ALGOL 60

2 participants