Fizzbuzz.go
- A Go program that prints "Bob" for multiples of 3, "Cat" for multiples of 5, and "BobCat" for multiples of both.run_fizzbuzz.sh
- A shell script to run the Go program.README.md
- README documentation file.index.html
- HTML documentation.The run_fizzbuzz.sh
script allows you to run the FizzBuzz program without manually running Go commands.
./run_fizzbuzz.sh <number>
Replace <number>
with an integer.
./run_fizzbuzz.sh 15
Output:
1
2
Bob
4
Cat
Bob
7
8
Bob
Cat
11
Bob
13
14
BobCat
chmod +x run_fizzbuzz.sh