This project implements the classic FizzBuzz problem using Java programming language. In addition to the standard FizzBuzz implementation, this project allows the user to input any number, and the FizzBuzz logic executes up to that number.
- Java Development Kit (JDK) installed on your machine
- Any Java IDE (Integrated Development Environment) such as IntelliJ IDEA, Eclipse, or NetBeans
-
Clone the repository to your local machine:
-
Open the project in your preferred Java IDE.
-
Build and run the project.
- After running the project, the application prompts the user to enter a number.
- Enter any positive integer number and press Enter.
- The program will then execute the FizzBuzz logic up to the entered number and display the results in the console.
- The FizzBuzz logic is implemented in the
FizzBuzz1.java
andFizzBuzz2.java
files found in thecom.amalitech
package. - The user input and main execution logic are implemented in the main method.