omega-rosetta
aien-dev/omega-rosetta
Brought by drakestapleton
omega-rosetta / exercises / raindrops / raindrops.om
| 1 | note Exercism-style exercise "raindrops": https://exercism.org/tracks/python/exercises/raindrops |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | note convert writes "Pling" if n is divisible by 3, then "Plang" if by 5, then "Plong" if by 7, |
| 4 | note or the decimal digits of n when it is divisible by none of them, into o; returns the length. |
| 5 | note Check it with: sh exercise.sh exercises/raindrops |
| 6 | om2 |
| 7 | fn convert n ulong o edit uchar * to ulong |
| 8 | note replace this line with your solution |
| 9 | trap 13 |
| 10 | end |