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

Add the text article Infinite Loop to my article #25516

Merged
merged 4 commits into from
Nov 3, 2018

Conversation

SakshamGupta1995
Copy link
Contributor

@SakshamGupta1995 SakshamGupta1995 commented Oct 21, 2018

The article "##Infinite Loop by opposite iteration##" gives an example to new java programmer as to how a program can go into infinite loop if we increment the value of i instead of decrementing it and vice-versa. It is a basic but an important example for new coders.

  • I have read freeCodeCamp's contribution guidelines.
  • My pull request has a descriptive title (not a vague title like Update index.md)
  • My pull request targets the master branch of freeCodeCamp.
  • None of my changes are plagiarized from another source without proper attribution.
  • My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX

The article  "##Infinite Loop by opposite iteration##" gives an example to new java programmer as to how a program can go into infinite loop if we increment the value of i instead of decrementing it and vice-versa. It is a basic but an important example for new coders.
Copy link
Contributor

@Manish-Giri Manish-Giri left a comment

Choose a reason for hiding this comment

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

  1. To add more code samples demonstrating infinite loops, use a statement to introduce the same with the h4 tag (follow the recommended guide formatting), like:

    Some more examples of infinite loops are shown below.

  2. Remove the /*My Changes line

  3. Use subheadings like h4 to introduce points like ##Infinite Loop by opposite iteration## and remove the hashes at the end.

  4. Please don't add unnecessary new lines and remove the ones you've added.

@Manish-Giri Manish-Giri self-assigned this Oct 21, 2018
SakshamGupta1995 and others added 3 commits October 22, 2018 21:02
This article will give new programmers the example of infinite loop when we increment the value instead of decrementing and vice-versa.
@cmccormack
Copy link
Member

Closing and reopening to reset CI

@cmccormack cmccormack closed this Nov 3, 2018
@cmccormack cmccormack reopened this Nov 3, 2018
@cmccormack
Copy link
Member

Looks good to me, and congratulations on your first Pull Request! 🎉🎉🎉
We look forward to future contributions!

@cmccormack cmccormack merged commit 3f6a61f into freeCodeCamp:master Nov 3, 2018
matthew-beaty pushed a commit to matthew-beaty/freeCodeCamp that referenced this pull request Nov 14, 2018
* Add the text article Infinite Loop to my article

The article  "##Infinite Loop by opposite iteration##" gives an example to new java programmer as to how a program can go into infinite loop if we increment the value of i instead of decrementing it and vice-versa. It is a basic but an important example for new coders.

* Update index.md

* Add Infinite Loop by update

This article will give new programmers the example of infinite loop when we increment the value instead of decrementing and vice-versa.

* Fixed several formatting issues
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.

None yet

3 participants