interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / raindrops / raindrops.om

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