FizzBuzz cli
Command line interface for FizzBuzz. The application will ask user for upperboundry to calculate Fizz,Buzz and FizzBuzz. For positive integers e.g.
Enter FizzBuzz upper boundry: 15
FizzBuzz Results
==========================
Fizz: 3, 6, 9, 12
Buzz: 5, 10
FizzBuzz: 15
If non numeric or negative number is entered user will be prompted to re-enter a valid upperbound.
How to install :
- clone the project from github https://github.com/johnsnowtarg92/fizzbuzz.git.
- in the project root folder (fizzbuzz) run the below command to build the application.
mvn package
- To execute -
i) For windows execute "run_windows.bat".
ii) For linux based environment execute "sh run_linux.sh".
ii) For eclipse execute com.johnsnowtarg.fizzbuzz.Main.java