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

Error in modulus operator result #141

Closed
JaapWijnen opened this issue Jun 10, 2016 · 2 comments
Closed

Error in modulus operator result #141

JaapWijnen opened this issue Jun 10, 2016 · 2 comments

Comments

@JaapWijnen
Copy link
Contributor

There's an error in the readme of the fizz buzz algorithm found here: https://github.com/raywenderlich/swift-algorithm-club/tree/master/Fizz%20Buzz

A table giving example results of using the modulus operator shows that 1/3 results in 0 with a remainder of 3. This should however be 0 with a remainder of 1. and thus the modulus result in the last column of the table should also be 1 instead of 3.

chris-pilcher pushed a commit that referenced this issue Jun 10, 2016
@chris-pilcher
Copy link

Thanks for raising this issue @JaapWijnen. I've just fixed results table.

@JaapWijnen
Copy link
Contributor Author

Ok so this issue can be closed ;) no problem

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

No branches or pull requests

2 participants