You are on page 1of 1

#!

/bin/bash

for i in {1..100}; do
echo -n “$i”

if (( i % 3 == 0 )); then
echo -ne “Fizz”

fi

if (( i % 5 == 0 )); then
echo -ne “Buzz”
fi

echo # newline

done

You might also like