A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the Fizz Buzz in Bash page! Here, you'll find the source code for this program as well as a description of how the program works.
#!/bin/bash
for i in {1..100}; do
if (( $i % 15 == 0 )); then
echo "FizzBuzz"
elif (( $i % 5 == 0 )); then
echo "Buzz"
elif (( $i % 3 == 0 )); then
echo "Fizz"
else
echo $i
fi
done
Fizz Buzz in Bash was written by:
If you see anything you'd like to change or update, please consider contributing.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.