1 / 1

soal

soal. PDAM menerapkan pembayaran air minum perumahan dengan cara perhitungan sebagai berikut : - Tarif per m3 untuk 10 m3 pertama (1-10) adalah Rp 2.000 - Tarif per m3 untuk 10 m3 kedua (11-20) adalah Rp 3.000 - Tarif per m3 untuk 10 m3 ketiga (21-30) adalah Rp 4.000

rimona
Télécharger la présentation

soal

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. soal PDAM menerapkan pembayaran air minum perumahan dengan cara perhitungan sebagai berikut : - Tarif per m3 untuk 10 m3 pertama (1-10) adalah Rp 2.000 - Tarif per m3 untuk 10 m3 kedua (11-20) adalah Rp 3.000 - Tarif per m3 untuk 10 m3 ketiga (21-30) adalah Rp 4.000 - Tarif per m3 untuk 10 m3 selanjutnya (31 ke atas) adalah Rp 5.000 - Pemakaian air dihitung minimal 10 m3 (kurang dari 10 m3 dianggap 10 m3) - Biaya administrasi bulanan sebesar Rp10.000 Bagaimana membuat algoritma untuk menghitung biaya tersebut? Contoh kasus Penggunaan air 5 m3 dengan biaya 10 x 2.000 + 10.000 = 30.000 Penggunaan air 15 m3 dengan biaya 10 x 2.000 + 5 x 3.000 + 10.000 = 45.000 Penggunaan air 75 m3 dengan biaya 10 x 2.000 + 10 x 3.000 + 10 x 4.000 + 45 x 5.000 +10.000 = 325.000

More Related