Skip to content

Fixed issue: io-conditionals.md (Improved switch statement) #54

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

Merged

Conversation

ananya0504
Copy link
Contributor

Fixes #9

Short description of what this resolves:

improve: Input/Output & Conditionals #9

What Changes proposed in this pull request:

  • Explained the workflow of the switch statement in depth
  • Added a diagram for better understanding and added it in the 'images' folder
  • Explained the 'break' and 'default' keyword
  • Added a better code snippet than the previous one
  • Added 1 code snippet to explain the working without the use of break statements
  • Added a code snippet that uses a nested switch statement
  • Added outputs for all code snippets

Checklist

  • Added description of the change
  • Added file name matches File name guidelines
  • Added code examples, the test must pass
  • Added documentation so that the program is self-explanatory and educational.
  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license.

Notes:
Improved switch statement explanation in io-conditionals.md

Copy link
Owner

@Utkarsh1504 Utkarsh1504 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Everything looks great, markdown, content, and code example everything.
Thank you for your super helpful contribution.🎉✨🎈

@Utkarsh1504 Utkarsh1504 added approved for approved PRS hacktoberfest-accepted eligible PRs for hactoberfest ✅ Ready for merge approved pull request labels Oct 2, 2021
@Utkarsh1504 Utkarsh1504 merged commit c707c0a into Utkarsh1504:main Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved for approved PRS hacktoberfest-accepted eligible PRs for hactoberfest ✅ Ready for merge approved pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

improve: Input/Output & Conditionals
2 participants