Download

MENAMPILKAN BILANGAN DESIMAL KE BINER ALGORITMA:

ALGIRITMA:
1. int j, i ,a,b;
2. Masukkan nilai i
3. Nilai Biner a<=8 byte
4. Pengulangan proses i=0;i<8;i++
5. Nilai biner adalah i=0 atau i=1. jika selain 0 atau 1 maka error
6. b=biner[i]*pow(i,a-8)
7. Jumlah=jumlah+biner
8. Cetak jumlah
9. Program selesai
Share this article :
 
 
Support : Creating Website | Johny Template | Mas Template
Copyright © 2011. EdiHaryanto - All Rights Reserved
Template Created by Creating Website Published by Mas Template
Proudly powered by Blogger