phanib / prime-table-multiplication

Generates prime numbers multiplication table to STDOUT :metal:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Prime Numbers Multiplication

The program prints out a multiplication table of first N primes.(Defaults to 10 if no input is given). Outputs to STDOUT

Installation

Clone the repo from this Github URL

https://github.com/phanib/prime-table-multiplication

Method 1

And then execute:

$ bundle

Method 2

And then execute:

$ bin/setup

Usage

Execute this command to run the program

$ bin/start

Running the tests

To run the tests, execute

$ rspec

Development

After checking out the repo, run bin/setup to install dependencies. Program code is in lib/ Then, run rspec to run the tests.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/phanib/prime-table-multiplication. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

This program is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Prime Table Multiplication project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Generates prime numbers multiplication table to STDOUT :metal:

License:MIT License


Languages

Language:Ruby 97.2%Language:Shell 2.8%