This project is a simple Java program that generates Fibonacci numbers.
It is a beginner-friendly project that demonstrates the use of:
- Variables
- Loops
- Methods
- User input
- Basic Java logic
The Fibonacci sequence is a series of numbers where each number is the sum of the two previous numbers.
Example:
0, 1, 1, 2, 3, 5, 8, 13, 21, 34...
- Generates Fibonacci numbers in Java
- Easy to understand and beginner friendly
- Simple console-based output
- Good project for practicing Java programming basics
- Java
- IntelliJ IDEA / Eclipse / VS Code
- Command Line
The program starts with the first two Fibonacci numbers:
- 0
- 1
Then it continues calculating the next numbers by adding the previous two numbers together.
Enter the number of terms: 10
Fibonacci Series:
0 1 1 2 3 5 8 13 21 34