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

My way of doing this #5

Closed
wants to merge 1 commit into from
Closed

My way of doing this #5

wants to merge 1 commit into from

Conversation

desmondcchi
Copy link

I know this is more complicated than the OP's way of doing it but by doing this I learned how you have to go from "macro to micro" when it comes to if and else if statements. If you were you put the first if statement into the last else if statement, the code would not work because it needs to check the statement with the "macro" condition, which is (a == b && b == c && a == c).

I know this is more complicated than the OP's way of doing it but by doing this I learned how you have to go from "macro to micro" when it comes to if and else if statements. If you were you put the first if statement into the last else if statement, the code would not work because it needs to check the statement with the "macro" condition, which is (a == b && b == c && a == c).
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.

1 participant