write a program to print Fibonacci series in bluej
Answers
Answered by
0
Java Program to Generate Fibonacci Numbers
public class Fibonacci.
int n, a = 0, b = 0, c = 1;
Scanner s = new Scanner(System.
System. out. print("Enter value of n:");
n = s. nextInt();
System. out. print("Fibonacci Series:");
for(int i = 1; i <= n; i++)
a = b;
Similar questions
Math,
6 months ago
Environmental Sciences,
6 months ago