Sha256: b87d10000ff8234e47dc5e0c51c6d153c57c52b936e0a94c5a5a70d67a1051e3

Contents?: true

Size: 600 Bytes

Versions: 3

Compression:

Stored size: 600 Bytes

Contents

- If the number has 3 as a factor, output 'Pling'.
- If the number has 5 as a factor, output 'Plang'.
- If the number has 7 as a factor, output 'Plong'.
- If the number does not have 3, 5, or 7 as a factor,
  just pass the number's digits straight through.

## Examples

- 28's factors are 2, 4, **7**, 14.
  - In raindrop-speak, this would be a simple "Plong".
- 30's factors are 2, **3**, **5**, 6, 15.
  - In raindrop-speak, this would be a "PlingPlang".
- 34 only has two factors- 2 and 17.
  - Raindrop-speak doesn't know what to make of that,
    so it just goes with the straightforward "34".

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
trackler-2.0.0.1 common/exercises/raindrops/description.md
trackler-2.0.0.0 common/exercises/raindrops/description.md
trackler-1.0.4.1 common/exercises/raindrops/description.md