An open API service indexing awesome lists of open source software.

https://github.com/povilasb/cracklepop

CracklePop number generator in ruby
https://github.com/povilasb/cracklepop

Last synced: 3 months ago
JSON representation

CracklePop number generator in ruby

Awesome Lists containing this project

README

        

=====
About
=====

.. image:: https://codeclimate.com/github/povilasb/cracklepop/badges/issue_count.svg

`CracklePop` is a toy sequence generator that prints out the numbers 1 to 100
(inclusive). If the number is divisible by 3, print Crackle instead of the
number. If it's divisible by 5, print Pop. If it's divisible by both 3 and 5,
print CracklePop.

Generate the numbers::

$ ruby cracklepop.rb