Deklarasi :
hari_ke : integer;

hari : string;

Deskripsi :

read (hari_ke);

case(hari_ke) of

1 : hari <– ‘Senin’;

2 : hari <– ‘Selasa’;

3 : hari <– ‘Rabu’;

4 : hari <– ‘Kamis’;

5 : hari <– ‘Jumat’;

7 : hari <– ‘Sabtu’;

8 : hari <– ‘Minggu’

endcase

write(hari)

==> Flowchart

Image

 

selamat mencoba…

About niehennys

just another girl.

Tinggalkan Balasan

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s