code2fly / fizzbuzz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fizzbuzz

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 :

  1. clone the project from github https://github.com/johnsnowtarg92/fizzbuzz.git.
  2. in the project root folder (fizzbuzz) run the below command to build the application.
    mvn package
  3. 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

About


Languages

Language:Java 95.4%Language:Batchfile 2.6%Language:Shell 2.1%