public class Main {
//Junita Laras Wati
public static void main(String[] args) {
// Menampilkan deret Fibonacci menggunakan while loop
int a = 0, b = 1;
System.out.println(a);
System.out.println(b);
while (a + b <= 100) {
int c = a + b;
System.out.println(c);
a = b;
b = c;
}
}
}