This commit is contained in:
Christoph J. Scherr 2025-08-05 13:51:56 +02:00
parent eec2c5ea19
commit 590704c425
Signed by: PlexSheep
GPG key ID: 9EB784BB202BB7BB
5 changed files with 10 additions and 0 deletions

2
src/fb.js Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env node
for (let i = 1; i <= 100; i++) {
if (i % 15 == 0) {
console.log("FizzBuzz");

View file

@ -1,3 +1,5 @@
#!/usr/bin/env lua
for i = 1, 100 do
if i % 15 == 0 then
print("FizzBuzz")

2
src/fb.php Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env php
<?php
for ($i=1; $i <=100 ; $i++) {
if ($i % 15 == 0) {

2
src/fb.py Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/usr/bin/env python3
for i in range(1,101):
if i % 15 == 0 :
print("FizzBuzz")

2
src/fb.sh Normal file → Executable file
View file

@ -1,3 +1,5 @@
#!/bin/bash
for i in $(seq 1 100); do
if [[ $(( $i % 15 )) == 0 ]]; then
echo FizzBuzz