This is default featured slide 1 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 2 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 3 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 4 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

This is default featured slide 5 title

Go to Blogger edit html and find these sentences.Now replace these sentences with your own descriptions.

Selasa, 01 November 2016

Flowchart sederhana

Assalamuallaikum.WR.wb

kali ini aa akan membagikan tugas logika algoritma BSI Bogor, dimana disini terdapat 3 soal dan disuru membuat flowchart dari masing masing soal tersebut. dan ini soal dan jawaban flowchatnya.
Soal 1.

 Buatlah Flowchartnya dari pseudocode berikut ini:

     a. Masukan kode barang
     b. Masukan harga barang
     c. Masukan Jumlah barang
     d. Hitung bayar = harga * Jumlah barang
     e. Jika bayar >= 100.000 maka diberikan discount 10%, selain dari itu tidak mendapat discount
     f. Hitung total bayar = bayar - discount
     g. Cetak total bayar

 Jawab : 






Soal 2.


Buatlah Flowchartnya dari pseudocode berikut ini:
         a. Diketahui phi=3.14
         b. Masukan nilai jari-jari (r)
         c. Hitung Keliling = 2 * phi * r
         d. Cetak Keliling
         e. Ingin menghitung kembali? Jika Ya maka kembali ke proses awal, jika Tidak maka program      berhenti.

        Jawab:
 



Soal 3
Buatlah Flowchartnya dari pseudocode berikut ini:

a.      a. Masukan pilihan
           A. Jika pilihan=1 maka menu=“nasi goreng” 
                 B.  jika pilihan=2 maka menu=“mie goreng” 
                 C.  jika  pilihan=3 maka menu=“capcay”
b. Cetak menu
c. Ingin pilih kembali? Jika Ya maka kembali ke proses awal, jika Tidak maka program berhenti