1 / 13

Lanjutan Dasar-Dasar C#

Lanjutan Dasar-Dasar C#. IF THEN ELSE. Switch case. Looping FOR. For ( Nilai awal ; kondisi ; Increment/Decrement) { Pernyataan yang akan diulang }. Cth : FOR Increment. Cth : For Decrement. Looping Do While. Do { Perintah yang akan diulang } While ( ekspresi boolean ).

Download Presentation

Lanjutan Dasar-Dasar C#

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LanjutanDasar-Dasar C#

  2. IF THEN ELSE

  3. Switch case

  4. Looping FOR For (Nilaiawal; kondisi; Increment/Decrement) { Pernyataan yang akandiulang }

  5. Cth : FOR Increment

  6. Cth : For Decrement

  7. Looping Do While Do { Perintah yang akandiulang } While (ekspresiboolean)

  8. Cth: Looping Do While

  9. Looping While While (ekspresiboolean) { Perintah yang akandiulang }

  10. Cth: Looping While

  11. LATIHAN 1

  12. LATIHAN 2 Edit latihan 1 sehingga program bisadiisiolehbanyakbarang

  13. LATIHAN 3 Bisamenggunakangotocontoh: gotoawal; awal: Menu Utama: ---------------------- Menu Makanan Menu Minuman Total Bayar ------------------------ Pilih menu no: Menu minuman: ---------------------- TehObeng TO Jus Buah ------------------------ Pilih menu no: Jumlahygdipesan: Total: Kembalike menu utama Menu makanan: ---------------------- Ayampenyet PecelLele Udangasampedas ------------------------ Pilih menu no: Jumlahygdipesan: Total: Kembalike menu utama Biayapesanan -------------------- Total makanan : Total minuman: --------------------------- Total Bayar: -------------------------- Uang : Sisa :

More Related