Skip to content

Fix prime number checking logic in prime.c#210

Open
Prateek-9801 wants to merge 2 commits intoharsh2102:masterfrom
Prateek-9801:patch-1
Open

Fix prime number checking logic in prime.c#210
Prateek-9801 wants to merge 2 commits intoharsh2102:masterfrom
Prateek-9801:patch-1

Conversation

@Prateek-9801
Copy link

  • Declare missing variables
  • Handle numbers less than or equal to 1
  • Improve loop condition and readability

- Declare missing variables
- Handle numbers less than or equal to 1
- Improve loop condition and readability
By mistake added "#usingnamespacestd;"
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