Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add alternative bottle pluralization solution and update README TOC #130

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
kagandavran wants to merge 3 commits into codedex-io:main
base: main
Choose a base branch
Loading
from kagandavran:feat/bottle-pluralization

Conversation

@kagandavran
Copy link

@kagandavran kagandavran commented Aug 16, 2025

Summary

  • Adds a second solution for the bottle pluralization exercise that correctly
    handles singular/plural forms of "bottle".
  • Updates the README table of contents to include a link to this new solution.

Why

  • Provides learners an additional approach while staying within the concepts
    taught in class up to this point.
  • Improves discoverability via the README TOC.

Notes

  • The existing solution(s) remain unchanged.
  • The new solution uses only concepts covered so far in the course (no advanced
    libraries or features).

Quick check

  • For count = 1 → output uses "bottle"
  • For count ≠ 1 → output uses "bottles"

Added an alternative solution that handles the singular and plural spelling of "bottle" based on the number remaining. This version only uses the concepts that have been introduced in class up to this point.
Updated the README table of contents to include a hyperlink to the
new bottle pluralization solution under loops path.
Updated the README table of contents to include a hyperlink to the
new bottle pluralization solution. Also appended "(solution 1)" to the end of the original solution file.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /