Transpiled version (2932L) is out of date.
1 | svoid fizzBuzz() {
|
2 | printLines(1to(100), n -> |
3 | or2(stringIf("Fizz", divides(n, 3))
|
4 | + stringIf("Buzz", divides(n, 5)), str(n)));
|
5 | } |
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031775 |
| Snippet name: | fizzBuzz |
| Eternal ID of this version: | #1031775/2 |
| Text MD5: | d6b7f2394b898c204aff8b1257f9c061 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-03-13 03:34:56 |
| Source code size: | 143 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 359 / 496 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |