Fizz buzz is a common java interview program which prompts the user to enter a number then responds in one of the following ways...
- if the number is divisible by 3, print "Fizz"
- if the number is divisible by 5, print "Buzz"
- if the number is divisible by neither, print the number
- if the number is divisible by 3 and 5, print "FizzBuzz"
Open a command prompt and navigate to the src directory of the project. This is located in the root of the project. First compile the project's java files by running the following:
javac -cp . com\dominionconsulting\*.java
Next, run the compiled java class files by running:
java -cp . com.dominionconsulting.App