Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Fibonacci Number Generator in Java

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

What is Fibonacci Sequence?

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...

Features

  • Generates Fibonacci numbers in Java
  • Easy to understand and beginner friendly
  • Simple console-based output
  • Good project for practicing Java programming basics

Technologies Used

  • Java
  • IntelliJ IDEA / Eclipse / VS Code
  • Command Line

How It Works

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.

Example Output

Enter the number of terms: 10
Fibonacci Series:
0 1 1 2 3 5 8 13 21 34

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages