MreneSinau – kali ini kita akan bahas tentang konversi bilangan dari bilangan Desimal ke bilangan hexadesimal, oktal, dan juga biner.
prinsipnya sebenarnya untuk konversi kepada biner sama saja dengan program sebelumnya hanya saja untuk progam ini kita tambahkan hex untuk konversi ke hexadesimal dan oct untuk konversi ke oktal.
mari kita lihat progam selengkapnya.
- #include<iostream.h>
- int main()
- {
- long desimal, pembagi=1073741824, bit;
- cout<<“Nilai Desimal : “;
- cin>>desimal;
- cout<<“Hexadesimal = “<<hex<<desimal<<endl;
- cout<<“Oktal = “<<oct<<desimal<<endl;
- cout<<“Biner = “;
- while(pembagi>desimal) pembagi/=2;
- do{
- bit=desimal/pembagi;
- cout<<bit;
- desimal=desimal%pembagi;
- pembagi/=2;
- }
- while(pembagi>=1);
- cout<<“n“;
- return 0;
- }
dari program diatas dapat kita lihat misalnya kita akan mengkonversi dari desimal dengan nilai 15 .
maka hasil outputnya akan seperti berikut ini.
Konversi bilangan
keren
http://uthinrontof.win/samsung-s8600-wave-3-games.php
http://warefroltal.win/asus-x53u-series-wireless-driver.php
http://idorthele.win/deep-cleaning-system-reviews.php
http://uldordale.review/juon-the-grudge-2-indonesian-subtitle.php
http://vehendeket.win/acoustica-audio-mixer-v-2-471-free.php
http://meattertro.download/7-days-to-die-alpha-2-32-bit-tpb.php
http://cifirenta.download/jogo-cavaleiros-do-zodiaco-para-psp.php
http://verderanling.win/freelatest-usb-drivers-for-windows-xp-sound.php
http://uthoritrec.download/balika-vadhu-serial-songs-pk-free.php
http://onditesin.win/how-do-youbooks-to-kindle-fire.php
http://palaritar.download/britt-nicole-you-frees.php
http://fetinsparsof.review/kahbi-alvida-na-subtitles.php
http://rorebratlac.win/ati-mobility-radeon-7500-ibm-driver.php
http://palaritar.download/asus-smart-gesture-win7-64bit.php
http://entirehe.review/free-kannada-software-for-mobile.php
http://parcalrinfo.review/joss-stone-the-soul-sessions-vol-1.php
http://onditesin.win/kumpulan-tema-blackberry-8520-offline-installer.php
http://otladatot.download/florin-salam-vai-vai-vai-shik-shak-shok-fisierul-meu.php
http://meattertro.download/cara-membuka-videodari-ganool.php
http://idorthele.win/voice-modulator-software.php
http://uldordale.review/hydro-air-pump-part-manual.php
http://tiritmaning.review/software-to-convert-jpeg-to-pdf.php
http://rorebratlac.win/mental-health-foundations.php
http://atrethecke.review/two-player-quiz-games-ipad.php
http://onditesin.win/hindi-comics-freepdf-file.php
http://boropparmi.review/europa-universalis-4-playthrough.php
http://safienhar.win/x-files-scripts-pdf.php
http://bloomingtonkatmandu.com/?option=com_k2&view=itemlist&task=user&id=20527
http://www.trle.net/plogger/index.php?level=picture&id=1103
https://www.viathinksoft.de/tmpe/wiki/index.php?title=User:ToneyGoheen
http://playpalkids.org/groups/driver-de-usb-net-card/
http://www.izmirescortajansi.com/ads/lamp-software/
http://www.uksportsbets.co.uk/youtop/index.php?a=stats&u=gerardmedworth9
http://www.jcspace2.com/bmd_tomo/yybbs.cgi?list=thread
http://yourcreditguys.com/?option=com_k2&view=itemlist&task=user&id=2787628
https://tslivegirls.com/profile/DonnieSpau
http://joomla3.coreteq.eu/?option=com_k2&view=itemlist&task=user&id=585
http://www.cafdo.org/mediawiki/mw/index.php?title=Games_Game_Of_Thrones_720p_Season_1kickass
http://c2age.com/?option=com_k2&view=itemlist&task=user&id=938706
http://usamckinley.com/?option=com_k2&view=itemlist&task=user&id=15918
http://www.mobilefud.com/user.php?login=bobbiemeza
http://cristoparatodaslasnaciones.com/?option=com_k2&view=itemlist&task=user&id=1229136
http://zimvesta.com/?option=com_k2&view=itemlist&task=user&id=347901
http://resco-sa.cl/aardvark/index.php?a=stats&u=tawnya67p5671
http://laboullaysienne.fr/forum/index.php?topic=136088.0
http://decoclosets.com/?option=com_k2&view=itemlist&task=user&id=22960
http://demuestrafutbol.com/author/unalechuga8/