1 unstable release
0.1.0 | Dec 30, 2024 |
---|
#252 in Math
122 downloads per month
4KB
Prime Finder in Rust
This project is a simple prime number finder written in Rust. It demonstrates basic Rust programming concepts and efficient algorithms for finding prime numbers.
Features
- Efficient prime number finding algorithm
- Command-line interface for user interaction
- Well-documented and easy to understand code
Requirements
- Rust (latest stable version)
- Cargo (Rust package manager)
Installation
- Clone the repository:
git clone https://github.com/yourusername/prime_finder_rust.git
- Navigate to the project directory:
cd prime_finder_rust
- Build the project:
cargo build --release
Usage
Run the program with the following command:
cargo run --release
You will be prompted to enter a number, and the program will output whether the number is prime or not.