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

Create Nth prime number #5

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Conversation

Raya513
Copy link

@Raya513 Raya513 commented Oct 4, 2021

I have written the code to print the Nth prime number , it is absolutely correct please kindly merge it.

@canaryGrapher
Copy link
Member

canaryGrapher commented Oct 4, 2021

Hey @Raya513, appreciate the PR. I would love to merge this PR, but please make the following changes since this is a learning repository:

  1. Make variable names more descriptive. Names like i, j, k, etc are confusing
  2. Comments to explain each step
  3. Also add the file in an appropriate folder Miscellaneous > nthPrimeNumber.c

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.

2 participants