package fib;public class fibonaci { public static void main(String[] args) { Fibonaci(20); } public static void Fibonaci (int count) { int[] num = new int[count]; num[0] = num[1] = 1; System.out.println(num[0] ); System.out.println(num[1] ); for (int i = 2; i < count; i++) { num[i] = num[i - 1] + num[i - 2]; System.out.println(num[i] ); } }}