Loop while-do melakukan pengecekan kondisi loop diawal. Format loop while-do adalah:
while (kondisi) {
//aksi selama kondisi = true
}
Contoh:
public static void main(String[] args) {
int i = 10;
while (i<100) {
System.out.println(i);
i = i + 20;
}
System.out.println("Selesai");
}
1 komentar:
Best BetMGM Casino App for iOS & Android - KTM Hub
The 춘천 출장안마 only app that's compatible with the 강릉 출장안마 Android-friendly BetMGM app is the Barstool Casino app, 강원도 출장안마 which is part of the 김제 출장샵 casino. The app is the 서울특별 출장안마 first
Post a Comment