Skip to content

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
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

kagandavran
Copy link

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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant