Skip to content

Add IsEven function and update README.md #25

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tarun2684
Copy link

@tarun2684 tarun2684 commented Jul 17, 2025

This pull request adds a new Kotlin function isEven which checks whether a given integer is even. The function is placed in IsEven.kt inside the appropriate directory, and an entry has been added to the README.md under the snippets section

Closes #21

Copy link

welcome bot commented Jul 17, 2025

🚀 Thanks for your PR — great to have you here!
We’ll review it shortly. Stay awesome! 💪

@e5LA
Copy link
Owner

e5LA commented Jul 17, 2025

👋 Thanks so much for the PR @tarun2684, this is a great start.

To keep things consistent with the rest of the project, could you please add:

  1. A test file (i.e. IsEvenTest.kt) with a few basic cases;
  2. Correct package on top of the file (i.e. codecollection.snippets.numbers)

@e5LA e5LA self-requested a review July 17, 2025 15:08
@tarun2684
Copy link
Author

Thanks @e5LA , sure will do the rest.

@e5LA
Copy link
Owner

e5LA commented Jul 22, 2025

Hey @tarun2684 let me know if you need any support here 🤝

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.

Check if a number is even
2 participants