crackle-pop

This repo implements the following program:

Write a program 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. You can use any language.

Setup

Clone the repo to your computer:

git clone git@github.com:dbalatero/crackle-pop.git

Running it

To run the program, cd to your local copy of this repo, and run:

ruby crackle_pop.rb

Running the tests

To run the tests, cd to your local copy of this repo, and run:

ruby test/crackle_pop_test.rb