General FizzBuzz: Difference between revisions

(Added an example for D)
Line 1,950:
 
=={{header|Ring}}==
{{incorrect||Mappings are supposed to be parameterized, not hardwired as they are here.}}
<lang ring>
for nlimit = 1 to 20
for n = 1 to limit
if n % 3 = 0 see "" + n + " = " + "Fizz"+ nl
but n % 5 = 0 see "" + n + " = " + "Buzz" + nl
2,468

edits