Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the % operator #87

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Added the % operator #87

wants to merge 2 commits into from

Conversation

adam-mcdaniel
Copy link
Owner

This PR adds the modulus method to Target, which implements the integer modulus operation. It also adds an example named mod.ok which demonstrates finding the days in each month and whether or not a year is a leap year using the modulus operator.

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.

None yet

1 participant