Belajar IT dengan Konsisten dan Update dibutuhkan untuk tetap berkembang menuju kompetensi yang lebih baik lagi.
Salam Learn Into IT
Sehingga perintah dieksekusi minimal 1x sebelum menentukan ekspresi nya bernilai salah atau benar.
Saya akan membuat file PHP dengan nama dowhile.php.
berikut adalah contoh penerapan do…while pada pemograman PHP :
perintah “do..while” akan dijalankan sebanyak satu kali kemudian script baru akan memeriksa ekspresi while nya apakah masih bernilai benar atau tidak.
Tampilan yang terlihat pada browser adalah sebagai berikut :
selamat mencoba perintah “do..while” pada pemograman PHP.
irvan lewenusa
Belajar IT dengan Konsisten dan Update dibutuhkan untuk tetap berkembang menuju kompetensi yang lebih baik lagi.
Salam Learn Into IT
Email : [email protected]
This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.