Comment by tedunangst
4 years ago
# Check if the number is a multiple of 3 and 5
if [[ $1 -eq 0 ]]; then
echo "FizzBuzz"
It knows what it wants, just not quite how to do it here.
4 years ago
# Check if the number is a multiple of 3 and 5
if [[ $1 -eq 0 ]]; then
echo "FizzBuzz"
It knows what it wants, just not quite how to do it here.
Good pickup!
> In this code it incorrectly prints FizzBuzz when $1 is 0. Fix it