While Loop

Run Settings
LanguageJava
Language Version
Run Command
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; } } }
Editor Settings
Theme
Key bindings
Full width
Lines