Skip to content

Added Prime Number Check Program in Rust#1833

Merged
jrg94 merged 2 commits intoTheRenegadeCoder:masterfrom
msj2:patch-6
Nov 4, 2019
Merged

Added Prime Number Check Program in Rust#1833
jrg94 merged 2 commits intoTheRenegadeCoder:masterfrom
msj2:patch-6

Conversation

@msj2
Copy link
Contributor

@msj2 msj2 commented Oct 31, 2019

Check if number is prime or composite number

Congrats on taking the first step to contributing to the Sample Programs repository maintained by The Renegade Coder! For simplicity, please make sure that your pull request includes one and only one contribution.

Complete the Applicable Sections Below

Find which section best describes your pull request and make sure you fill it out. To start, let us know which issue you've fixed.

Code Snippets

  • I named the pull request using Added/Updated <Sample Program> in <Language> format
  • [] I created/updated the language README
    • I added the sample program name to the README
    • I added fun facts (i.e. debut, developer, typing, etc.)
    • I added reference link(s) to the README
    • I added solution citations when necessary (see plagiarism)

Documentation

  • I named the pull request using Added/Updated <Sample Program> in <Language> Article format
  • I followed the applicable article template

Testing

  • I named the pull request using Added/Updated <Language>/<Project> Testing format
  • I followed the testinfo template, if applicable

Notes

Rust Program to accept a number on command line and print if it is Prime or Composite

Check if number is prime or composite number
@jrg94 jrg94 requested a review from a team October 31, 2019 17:31
@jrg94 jrg94 self-assigned this Oct 31, 2019
@jrg94 jrg94 added enhancement Any code that improves the repo hacktoberfest Hacktoberfest related prime number See: https://sampleprograms.io/projects/prime-number/ labels Oct 31, 2019
@jrg94 jrg94 added this to the 500 Code Snippets milestone Oct 31, 2019
Copy link
Member

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Missing callout in README. Looks decent otherwise.

Copy link
Member

@jrg94 jrg94 left a comment

Choose a reason for hiding this comment

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

Looks good! Will adjust when testing is added.

@jrg94 jrg94 merged commit 884773d into TheRenegadeCoder:master Nov 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Any code that improves the repo hacktoberfest Hacktoberfest related prime number See: https://sampleprograms.io/projects/prime-number/

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Add Prime Number in Rust

2 participants