<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-8219371128835127478</id><updated>2024-12-19T10:29:48.658+07:00</updated><category term="Codeblock"/><category term="Materi Alpro"/><title type='text'>Ingat ini</title><subtitle type='html'>Blog Belajar Pemrograman Dasar</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/09035692160732019843</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-8757648840657160785</id><published>2015-02-05T20:23:00.001+07:00</published><updated>2015-02-05T20:23:36.777+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Materi Alpro"/><title type='text'>Intruksi Pemilihan (Selection) | C++</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Selection pada C++&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;A. Mengenal lebih jauh tentang selection&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigpJOrm_Nu_zIJXN6Z6LeFNu7M-eM7k_LUC0MZIbE701ON4Mg8pKG3W1XSu8cP7GkhGfJ3BofE-Ljjo6iEnAZ8WZqMzdjnVOWsNkJcaSmhUR5u6mzlSPRGcp5oEZnk9SFdm3FTcaRpnxU/s1600/C++.jpeg&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img alt=&quot;C++&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigpJOrm_Nu_zIJXN6Z6LeFNu7M-eM7k_LUC0MZIbE701ON4Mg8pKG3W1XSu8cP7GkhGfJ3BofE-Ljjo6iEnAZ8WZqMzdjnVOWsNkJcaSmhUR5u6mzlSPRGcp5oEZnk9SFdm3FTcaRpnxU/s200/C++.jpeg&quot; style=&quot;border: none;&quot; title=&quot;C++&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Instruksi pemilihan/seleksi (selection) adalah instruksi yang dipakai untuk memilih satu atau beberapa kemungkinan proses berdasarkan suatu persyaratan tertentu. Instruksi seleksi biasanya digunakan untuk  menyatakan pernyataan kondisi (bersyarat) dari sebuah inputan dimana kondisi disesuaikan dengan syarat yang ditentukan, dan nilai yang dihasilkan adalah benar atau salah.&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Dalam hal ini, kita akan tau hasil outputan-nya nanti hasil akhirnya hanya ada dua kemmungkinan yaitu bernilai benar atau salah. Intruksi selection sendiri ada 2 intruksi, yaitu:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Instruksi seleksi dengan menggunakan  If&lt;/li&gt;
&lt;li&gt;Instruksi seleksi dengan menggunakan  Switch - Case&lt;/li&gt;
&lt;/ol&gt;
&lt;b&gt;B. Instruksi  Seleksi IF&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Intruksi seleksi &lt;i&gt;if&lt;/i&gt; digunakan untuk menyeleksi atau memilih alternatif yang telah ditentukan syarat ataupun kondisinya. jadi intinya &lt;i&gt;Jika kondisi atau syarat terpenuhi, Maka akan dijalankan proses yang ada dengan &lt;b&gt;mengeluarkan output pernyataan yang benar&lt;/b&gt;. Namun jika kondisi atau syarat tidak terpenuhi, Maka proses akan &lt;b&gt;langsung Selesai&lt;/b&gt;&lt;/i&gt;, Berikut bentuknya skemanya dalam tabel&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkhSP0zqGJORh1sF2x9Mh0hch0872iAKfiOmkSqc-kbisHN_S2NI91_UAurpnO6Rn6xkD65qYxXaGAtlkjkMQCOf5l10-xCvJgDy5-ju1AlK0X_Va0vWPZ_7yPp4gHLPrxA-YGxp1l07A/s1600/Screenshot_13.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;tabel1&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgkhSP0zqGJORh1sF2x9Mh0hch0872iAKfiOmkSqc-kbisHN_S2NI91_UAurpnO6Rn6xkD65qYxXaGAtlkjkMQCOf5l10-xCvJgDy5-ju1AlK0X_Va0vWPZ_7yPp4gHLPrxA-YGxp1l07A/s400/Screenshot_13.png&quot; title=&quot;tabel1&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;Mau lihat contohnya, silakan lihat di dan download &lt;a href=&quot;http://ingatini.blogspot.com/2015/01/kotak-manual-c-codeblock_22.html&quot;&gt;Contoh Seleksi IF&lt;/a&gt;&lt;/div&gt;&lt;br/&gt;
&lt;b&gt;C. Intruksi If-Else&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Intruksi &lt;i&gt;If-Else&lt;/i&gt; digunakan untuk menyeleksi atau memilih alternatif yang telah ditentukan, yang mana kondisi tersebut akan dipilih sesuai dengan syarat ataupun kondisi tertentu. jadi intinya &lt;i&gt;Jika kondisi atau syarat terpenuhi, Maka akan dijalankan proses yang ada dengan &lt;b&gt;mengeluarkan output pernyataan yang benar&lt;/b&gt;. Namun jika kondisi atau syarat tidak terpenuhi, Maka proses akan &lt;b&gt;menjalankan pernyataan yang salah&lt;/b&gt;&lt;/i&gt;, Berikut bentuk skema-nya:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHYwf7K1gvGguWKOR3vAPobelLNld1egxy1ldqUNuHM_nQ7ONlVVY3mA2Bno6tu4xIofhq2DTPCbAgrMDe6U0xRcRmw3xhBWc_CnNZw0UcPAdQsX0JMDCOWWdOlxu23s72S9eRprtvr_Y/s1600/Screenshot_14.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;table2&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHYwf7K1gvGguWKOR3vAPobelLNld1egxy1ldqUNuHM_nQ7ONlVVY3mA2Bno6tu4xIofhq2DTPCbAgrMDe6U0xRcRmw3xhBWc_CnNZw0UcPAdQsX0JMDCOWWdOlxu23s72S9eRprtvr_Y/s400/Screenshot_14.png&quot; title=&quot;table2&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;D. Instruksi  Seleksi IF – ELSEIF – ELSE&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Intruksi &lt;i&gt;Instruksi  Seleksi IF – ELSEIF – ELSE&lt;/i&gt; ini biasanya paling sering digunakan, dalam prinsipnya Instruksi Seleksi ini akan mencari pernyataan yang bernilai benar sesuai kriterianya, kalaupun tidak ada pernyataan yang benar maka akan menjalankan pernyataan salah yang paling akhir, berikut saya paparkan lebih detail&lt;/div&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
&lt;i&gt;Jadi begini, saat kita memiliki beberapa pernyaataan benar maka saat kita menggunakan intruksi seleksi ini, maka &lt;b&gt;prosesnya akan mencari pernyataan yang sesuai (bernilai benar), kalaupun dari beberapa pernyataan tersebut tidak ada yang bernilai benar, maka akan dijalankan pernyataan yang bernilai salah, yang diletakkan diakhir sendiri&lt;/b&gt;&lt;/i&gt;, berikut ilustrasinya:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXv42GIpXZKvTnW6P8uMm4Z9Qf_0DSsPAjKMIIHB8Ss97EkcAYW_hZM6dglHYlKi_7E46-dNoSzbYGcHwjiuKQhdO7iiH9-_vRRM1CDm3WCvg-j_G7G0TpJ2fJPwQnpevEHJtdnI9Yd2c/s1600/Screenshot_15.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;tabel3&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXv42GIpXZKvTnW6P8uMm4Z9Qf_0DSsPAjKMIIHB8Ss97EkcAYW_hZM6dglHYlKi_7E46-dNoSzbYGcHwjiuKQhdO7iiH9-_vRRM1CDm3WCvg-j_G7G0TpJ2fJPwQnpevEHJtdnI9Yd2c/s400/Screenshot_15.png&quot; title=&quot;tabel3&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;Mau lihat contohnya, silakan lihat dan download &lt;a href=&quot;http://ingatini.blogspot.com/2015/01/kalkulator-sederhana_23.html&quot;&gt;Contoh Seleksi IF– ELSEIF – ELSE&lt;/a&gt;&lt;/div&gt;&lt;br/&gt;
&lt;b&gt;E. Inturksi Seleksi SWITCH - CASE&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify; text-indent: 27.25pt;&quot;&gt;
Instruksi switch() case digunakan sebagai instruksi pemilihan dimana aksi yang akan dilakukan bergantung pada nilai dari satu macam variabel saja. Berbeda dengan penggunaan seleksi if yang mensyaratkan kondisi tertentu. Dengan kata lain, variabel yang dipakai menentukan pilihan aksi (case) terhadap nilai (value) variabel tersebut,  mungkin variabel tersebut memiliki banyak macam nilai dan setiap nilainya berkaitan dengan satu macam aksi. Untuk lebih jelasnya, bisa dilihat skema dibawah ini&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4RqPiVn51wpbW2lWIY3BdBSBwJIl92B2X_H9Ba9AV2GDntujxkmp5HFXIeff4WdbqOv_mRu9OThZkVXVM-HoCw4WsHoSSc17zSvsJidJxZph7wS0B558t5fsAHpA05hODOOk6Z-ELhho/s1600/Screenshot_16.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;tabel4&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4RqPiVn51wpbW2lWIY3BdBSBwJIl92B2X_H9Ba9AV2GDntujxkmp5HFXIeff4WdbqOv_mRu9OThZkVXVM-HoCw4WsHoSSc17zSvsJidJxZph7wS0B558t5fsAHpA05hODOOk6Z-ELhho/s400/Screenshot_16.png&quot; title=&quot;tabel4&quot; /&gt;&lt;/a&gt;&lt;/div&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Semoga Bermanfaat&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/8757648840657160785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2015/02/intruksi-pemilihan-selection-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8757648840657160785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8757648840657160785'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2015/02/intruksi-pemilihan-selection-c.html' title='Intruksi Pemilihan (Selection) | C++'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigpJOrm_Nu_zIJXN6Z6LeFNu7M-eM7k_LUC0MZIbE701ON4Mg8pKG3W1XSu8cP7GkhGfJ3BofE-Ljjo6iEnAZ8WZqMzdjnVOWsNkJcaSmhUR5u6mzlSPRGcp5oEZnk9SFdm3FTcaRpnxU/s72-c/C++.jpeg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Kedawong, Diwek, Kabupaten Jombang, Jawa Timur 61471, Indonesia</georss:featurename><georss:point>-7.5797255 112.25181420000001</georss:point><georss:box>-7.5954655 112.23164420000002 -7.5639855 112.2719842</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-2169760552309577663</id><published>2015-01-28T15:49:00.000+07:00</published><updated>2015-09-27T23:24:49.711+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Codeblock"/><title type='text'>Menghitung Jumlah Detik</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Source Code Aplikasi Menghitung Detik&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;dengan Codeblock&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjev90dhc8_xkiPcI0wmsKRv-x-3kwWwzBcAYOPgAR11U8jMcSpEBR6vd7wTuVU4pgLtajbDQQWPPtEtfyCsJ2aaFVE8OXFtDnUy-8e4k_6jfHTrGGjvjCGU801zkIum6nezCxHLYkNSZc/s1600/Waktu+Terbaik+Melakukan+Tweet.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;detik&quot; border=&quot;0&quot; height=&quot;195&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjev90dhc8_xkiPcI0wmsKRv-x-3kwWwzBcAYOPgAR11U8jMcSpEBR6vd7wTuVU4pgLtajbDQQWPPtEtfyCsJ2aaFVE8OXFtDnUy-8e4k_6jfHTrGGjvjCGU801zkIum6nezCxHLYkNSZc/s1600/Waktu+Terbaik+Melakukan+Tweet.jpg&quot; title=&quot;detik&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kali ini saya akan berbagi script/ source code aplikasi menghitung detik, jadi dalam aplikasi ini kita akan bisa menghitung waktu detik yang telah kita lewat, namun untuk yang kali ini saya hanya membuat jam dan menit saja yang bisa kita hitung, untuk hari bulan dan selanjutnya masih belum saya buat, dan mungkin bagi kawan-kawan bisa mengembangkannya selanjutnya :)&lt;br /&gt;
&lt;br /&gt;
Dalam script ini cukup simple karena saya hanya memanfaatkan &quot;&lt;i&gt;operator&lt;/i&gt;&quot; untuk membuat aplikasi ini, dan script hanya beberapa baris saja, jadi saya kira meskipun tidak saya jelaskan juga kawan-kawan insyaallah bisa memahaminya dengan mudah..hhe&lt;br /&gt;
&lt;br /&gt;
Baik langsung saja copas nih codenya.. :)&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;iostream&amp;gt;&lt;br /&gt;
using namespace std ;&lt;br /&gt;
int main ()&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;\t\t{{{{Thanks for your visiting}}}}&quot;&amp;lt;&amp;lt;&quot;\n&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;\t &amp;nbsp; &amp;nbsp; ^^^^Program Mencari Jumlah &#39;Detik&#39;^^^^&quot;&amp;lt;&amp;lt;&quot;\n\n&quot;;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; int jam, menit, detik, jml;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout &amp;lt;&amp;lt;&quot;Masukkan dalam skala jam= &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin &amp;gt;&amp;gt;jam;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout &amp;lt;&amp;lt;&quot;Masukkan dalam skala menit= &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin &amp;gt;&amp;gt;menit;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout &amp;lt;&amp;lt;&quot;Masukkan dalam skala detik= &quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cin &amp;gt;&amp;gt;detik;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; jml = jam*3600+menit*60+detik*1;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout &amp;lt;&amp;lt; &quot;Jumlah detiknya adalah= &quot;&amp;lt;&amp;lt;jml&amp;lt;&amp;lt;&quot; detik (s)&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;\n\n &amp;nbsp; &amp;nbsp; &amp;nbsp;........................DONE........................\n\n&quot;;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; cout&amp;lt;&amp;lt;&quot;#Created by ingatini.blogspot.com&quot;&amp;lt;&amp;lt;&quot;\n\n&quot;;&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Download Source Code &lt;a href=&quot;https://www.dropbox.com/s/qjdxggjutkb8hkt/Jumlah%20Detik.rar?dl=0&quot; target=&quot;_blank&quot;&gt;Disini&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
#Silakan Comment Kalau Masih Ada yang Error&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Baca Juga&amp;nbsp;&lt;a href=&quot;http://khususspemula.blogspot.co.id/search/label/Project%20Codeblock&quot; target=&quot;_blank&quot;&gt;Kumpulan Project Pemrograman&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; margin: 0px; orphans: auto; text-align: center; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;
&lt;b&gt;&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;SEMOGA BERMANFAAT&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/2169760552309577663/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2015/01/menghitung-jumlah-detik.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/2169760552309577663'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/2169760552309577663'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2015/01/menghitung-jumlah-detik.html' title='Menghitung Jumlah Detik'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjev90dhc8_xkiPcI0wmsKRv-x-3kwWwzBcAYOPgAR11U8jMcSpEBR6vd7wTuVU4pgLtajbDQQWPPtEtfyCsJ2aaFVE8OXFtDnUy-8e4k_6jfHTrGGjvjCGU801zkIum6nezCxHLYkNSZc/s72-c/Waktu+Terbaik+Melakukan+Tweet.jpg" height="72" width="72"/><thr:total>2</thr:total><georss:featurename>Kedawong, Diwek, Kabupaten Jombang, Jawa Timur 61471, Indonesia</georss:featurename><georss:point>-7.5797255 112.25181420000001</georss:point><georss:box>-7.5954655 112.23164420000002 -7.5639855 112.2719842</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-1244135156943788115</id><published>2015-01-23T20:18:00.001+07:00</published><updated>2015-03-19T18:29:19.667+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Materi Alpro"/><title type='text'>Variabel, Konstanta, Tipe Data dan String</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Dasar Pemrograman&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Variabel, Konstanta, Tipe Data dan String&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOOR322nW9Z7mbRC3qmoQZSkbUSnsqQ4vjpBlcpJyoQ9UP2Jb6ChCXJhyhIKWIuxZ-N3xgxcuC_d4i3dsTBZ3bfMX5MzoYWicP5egki5rqUrtL-QBylHzG33jF7yIa8HfK5DJmDyevuQs/s1600/c++.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;c++&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOOR322nW9Z7mbRC3qmoQZSkbUSnsqQ4vjpBlcpJyoQ9UP2Jb6ChCXJhyhIKWIuxZ-N3xgxcuC_d4i3dsTBZ3bfMX5MzoYWicP5egki5rqUrtL-QBylHzG33jF7yIa8HfK5DJmDyevuQs/s1600/c++.jpg&quot; height=&quot;200&quot; title=&quot;c++&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Kali ini saya akan berbagi sedikit mengenai dasar-dasar pemrograman yang harus kita ketahui sebelum beranjak ke materi yang selanjutnya.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;i&gt;Variabel&lt;/i&gt;&lt;/b&gt; merupakan sebuah nama atau karakter yang digunakan untuk mewakili sebuah elemen tertentu yang mana elemen tersebut menyimpan nilai yang nilainya sewaktu-waktu dipergunakan.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ada beberapa aturan untuk penulisan variabel yang baik, diantaranya:&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;Harus dimulai dengan abjad tidak boleh dengan angka atau karakter spasial lainnya, &lt;i&gt;ex: char nama1, int jk1&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Tidak boleh ada spasi diantaranya, sebaiknya gunakan garis bawah saata anda butuh untuk menyambung kata, &lt;i&gt;ex: int jenis_kelamin, char tempat_lahir&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Hindari penggunaan simbol-simbol yang membingungkan, seperti titik dua, titik koma, koma dsb, &lt;i&gt;ex &lt;b&gt;salah jangan ditiru&lt;/b&gt;: char nama:_+&quot;()&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Sebaiknya memiliki makna yang sesuai dengan elemen yang dituju, &lt;i&gt;ex: char jk &lt;b&gt;maksudnya &lt;/b&gt;digunakan untuk Jenis Kelamin.&lt;/i&gt;&lt;/li&gt;
&lt;li&gt;Sebaiknya tidak terlalu panjang, untuk efisiensi.&lt;/li&gt;
&lt;/ol&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;Konstanta &lt;/i&gt;merupakan sebuah nilai yang dimasukkan kedalam sebuah variabel yang mana nilai tersebut bersifat tetap/ permanen sehingga tidak akan bisa berubah, &lt;i&gt;berikut contohnya:&lt;/i&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
#include &amp;lt;iostream&amp;gt;&lt;/div&gt;
&lt;div&gt;
using namespace std;&lt;/div&gt;
&lt;div&gt;
int main ()&lt;/div&gt;
&lt;div&gt;
{&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; double tinggi_badan, berat_badan, BMI;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &lt;b&gt;berat_badan= 65;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp; tinggi_badan= 1.65&lt;/b&gt;;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;i&gt;#yang bercetak tebal itu merupakan konstanta&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;Tipe Data &lt;/i&gt;secara umum terbagi dalam 2 kategori. yaitu: &lt;i&gt;Tipe Dasar dan Tipe Bentukan, &lt;/i&gt;dari kedua tipe tersebut &lt;i&gt;Tipe Dasar &lt;/i&gt;dibagi lagi yaitu &lt;b&gt;&lt;i&gt;Tipe Data berupa Angka dan Karakter, berikut contoh dan penjelasannya&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCxIdXQUc2WM3rAMGM2H3rV0J-BvAC6XxpLNIokbGgZzZNT9OPh3z81XIz8db9KDNHH2yO6hvwe9E9rHHg8v34KopEW1JzVYrTMLluFXZVxJS-O2XZgWHyRVQOBgKc5FEYSw4q9PP37SM/s1600/Screenshot_1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;tabel&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCxIdXQUc2WM3rAMGM2H3rV0J-BvAC6XxpLNIokbGgZzZNT9OPh3z81XIz8db9KDNHH2yO6hvwe9E9rHHg8v34KopEW1JzVYrTMLluFXZVxJS-O2XZgWHyRVQOBgKc5FEYSw4q9PP37SM/s1600/Screenshot_1.png&quot; height=&quot;273&quot; title=&quot;tabel&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/i&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Sedangkan untuk &lt;i&gt;Tipe Bentukan &lt;/i&gt;adalah tipe data yang sudah dikombinasikan dari &lt;i&gt;tipe dasar.&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;i style=&quot;font-weight: bold;&quot;&gt;String &lt;/i&gt;merupaka sebuah deretan karakter. baik itu satu karakter satu kata maupun satu spasi, yang membedakan adalah dalam cara penulisannya, saat kita hanya menuliskan 1 (satu) karakter cara penulisannya kita harus menggunakan tanda &lt;i&gt;&lt;b&gt;petik satu&lt;/b&gt;&lt;/i&gt; ( &#39; ), sedangkan untuk menuliskan sebuah teks kita harus menggunakan &lt;i&gt;&lt;b&gt;petik dua&lt;/b&gt;&lt;/i&gt; ( &quot; )&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;b&gt;ex: char A=&#39;n&#39;; , char A=&quot;nama&quot;;&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMXvgIzmOunFwFmODjq4M38wKxqocYEzSD1S95IUOgmldm8cRHP0PGpYSxtdd8SNWDd2qEd4BddCCRTzlmUybGgyBHxiL-pgzgbqKhJC0asGgmiaOWBjkVaGFZ-uI5nyU_ACl39zTZQ/s1600/416095_397156133666073_2146977385_o.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;informasi&quot; style=&quot;border:none;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigiMXvgIzmOunFwFmODjq4M38wKxqocYEzSD1S95IUOgmldm8cRHP0PGpYSxtdd8SNWDd2qEd4BddCCRTzlmUybGgyBHxiL-pgzgbqKhJC0asGgmiaOWBjkVaGFZ-uI5nyU_ACl39zTZQ/s1600/416095_397156133666073_2146977385_o.jpg&quot; height=&quot;236&quot; title=&quot;informasi&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;i&gt;&lt;br/&gt;&lt;/i&gt;&lt;/div&gt;

&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;i&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Semoga Bermanfaat Kawan&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;
&lt;br/&gt;
&lt;div style=&quot;text-align: right;&quot;&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;&lt;i&gt;Materi Selanjutnya &amp;nbsp;&lt;/i&gt;&lt;/span&gt;&lt;i&gt;&lt;a href=&quot;http://ingatini.blogspot.com/2015/02/intruksi-pemilihan-selection-c.html&quot;&gt;&lt;b&gt;Intruksi Seleksi&lt;/b&gt;&lt;/a&gt;&lt;/i&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/1244135156943788115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2015/01/variabel-konstanta-tipe-data-dan-string_23.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/1244135156943788115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/1244135156943788115'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2015/01/variabel-konstanta-tipe-data-dan-string_23.html' title='Variabel, Konstanta, Tipe Data dan String'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOOR322nW9Z7mbRC3qmoQZSkbUSnsqQ4vjpBlcpJyoQ9UP2Jb6ChCXJhyhIKWIuxZ-N3xgxcuC_d4i3dsTBZ3bfMX5MzoYWicP5egki5rqUrtL-QBylHzG33jF7yIa8HfK5DJmDyevuQs/s72-c/c++.jpg" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Kedawong, Diwek, Kecamatan Jombang, Jawa Timur 61471, Indonesia</georss:featurename><georss:point>-7.5797255 112.25181420000001</georss:point><georss:box>-7.5954655 112.23164420000002 -7.5639855 112.2719842</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-8481568414550712011</id><published>2015-01-23T19:04:00.001+07:00</published><updated>2015-03-19T18:32:01.146+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Codeblock"/><title type='text'>Kalkulator Sederhana</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Script Membuat Kalkulator Sederhana&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;dengan C++ Codeblock&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtELcg4-QPtJ6T_Hk27Puga3dNxoE1oha4_fsOkYmEznue1N2gDKZjaQKuhsGahb34gqaSDjSstDAgQt43AfWR59a_oqjb7wCW3acOrczZTEkAJKVHdfNVLJgoptERIgpod16U8eLynXE/s1600/Loan+Calculator.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;kalkulator&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtELcg4-QPtJ6T_Hk27Puga3dNxoE1oha4_fsOkYmEznue1N2gDKZjaQKuhsGahb34gqaSDjSstDAgQt43AfWR59a_oqjb7wCW3acOrczZTEkAJKVHdfNVLJgoptERIgpod16U8eLynXE/s1600/Loan+Calculator.png&quot; height=&quot;191&quot; title=&quot;kalkulator&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Berikut saya akan berbagi script sederhana yang cocok untuk para codinger yang lagi belajar..&lt;i&gt;hehe, &lt;/i&gt;disini saya menggabungkan dua metode yaitu &lt;i&gt;perulangan &lt;/i&gt;yang menggunakan &quot;&lt;i&gt;While..&lt;/i&gt;&quot; dan &lt;i&gt;seleksi &lt;/i&gt;yang menggunakan &quot;&lt;i&gt;if..else...&lt;/i&gt;&quot; .&lt;br /&gt;
&lt;br /&gt;
Untuk &lt;i&gt;perulangan&lt;/i&gt; sendiri saya gunakan untuk mengulangi perintah saat user salah dalam menjalankan sebuah program, sedangan untuk &lt;i&gt;seleksinya &lt;/i&gt;saya manfaatkan untuk memilih mana perintah yang akan dijalankan&amp;nbsp;.&lt;br /&gt;
&lt;br /&gt;
nah..sedikit saja wejangannya, sekarang mari kita menuju TKP... :)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;iostream&amp;gt;
using namespace std ;
int main ()
{
    int a, b, angka1, angka2, jumlah;
    cout&amp;lt;&amp;lt;&quot;1. Penjumlahan      3. Pengurangan\n2. Pembagian        4. Perkalian\n\nPilih kategori yang anda butuhkan : &quot;;
    cin&amp;gt;&amp;gt;a;

    while(a&amp;lt;=0)
        {cout&amp;lt;&amp;lt;&quot;\nAnda yakin pilihan &quot;&amp;lt;&amp;lt;a&amp;lt;&amp;lt;&quot; ada dalam kategori&quot;&amp;lt;&amp;lt;&quot;\n&quot;;
        cout&amp;lt;&amp;lt;&quot;Masukkan Nomer Kategori yang Sesuai Intruksi Diatas=&quot;;cin&amp;gt;&amp;gt;b;
        a=b;}

    while(a&amp;gt;=5)
        {cout&amp;lt;&amp;lt;&quot;\nAnda yakin pilihan &quot;&amp;lt;&amp;lt;a&amp;lt;&amp;lt;&quot; ada dalam kategori&quot;&amp;lt;&amp;lt;&quot;\n&quot;;
        cout&amp;lt;&amp;lt;&quot;Masukkan Nomer Kategori yang Sesuai Intruksi Diatas=&quot;;cin&amp;gt;&amp;gt;b;
        a=b;}

    if (a==1)
        {cout&amp;lt;&amp;lt;&quot;\nSaya akan menggunakan operasi Penjumlahan\n&quot;;
        cout&amp;lt;&amp;lt;&quot;\nNilai pertama: &quot;;
        cin&amp;gt;&amp;gt;angka1;
        cout&amp;lt;&amp;lt;&quot;\nNilai kedua: &quot;;
        cin&amp;gt;&amp;gt;angka2;
        jumlah= angka1+angka2;
        cout&amp;lt;&amp;lt;&quot;\nJumlahnya= &quot;&amp;lt;&amp;lt;jumlah&amp;lt;&amp;lt;&quot;\n\n&quot;;}

    if (a==2)
        {cout&amp;lt;&amp;lt;&quot;\nSaya akan menggunakan operasi Pembagian\n&quot;;
        cout&amp;lt;&amp;lt;&quot;\nNilai pertama: &quot;;
        cin&amp;gt;&amp;gt;angka1;
        cout&amp;lt;&amp;lt;&quot;\nNilai kedua: &quot;;
        cin&amp;gt;&amp;gt;angka2;
        jumlah= angka1/angka2;
        cout&amp;lt;&amp;lt;&quot;\nJumlahnya= &quot;&amp;lt;&amp;lt;jumlah&amp;lt;&amp;lt;&quot;\n\n&quot;;}

    if (a==3)
        {cout&amp;lt;&amp;lt;&quot;\nSaya akan menggunakan operasi Pengurangan\n&quot;;
        cout&amp;lt;&amp;lt;&quot;\nNilai pertama: &quot;;
        cin&amp;gt;&amp;gt;angka1;
        cout&amp;lt;&amp;lt;&quot;\nNilai kedua: &quot;;
        cin&amp;gt;&amp;gt;angka2;
        jumlah= angka1-angka2;
        cout&amp;lt;&amp;lt;&quot;\nJumlahnya= &quot;&amp;lt;&amp;lt;jumlah&amp;lt;&amp;lt;&quot;\n\n&quot;;}

    if (a==4)
        {cout&amp;lt;&amp;lt;&quot;\nSaya akan menggunakan operasi Perkalian\n&quot;;
        cout&amp;lt;&amp;lt;&quot;\nNilai pertama: &quot;;
        cin&amp;gt;&amp;gt;angka1;
        cout&amp;lt;&amp;lt;&quot;\nNilai kedua: &quot;;
        cin&amp;gt;&amp;gt;angka2;
        jumlah= angka1*angka2;
        cout&amp;lt;&amp;lt;&quot;\nJumlahnya= &quot;&amp;lt;&amp;lt;jumlah&amp;lt;&amp;lt;&quot;\n\n&quot;;}

 cout&amp;lt;&amp;lt;&quot;\n\n      ........................DONE........................\n\n&quot;;

}&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Download Source Code &lt;a href=&quot;https://www.dropbox.com/s/5e8jmy1o3e67btv/Kalkulator.rar?dl=0&quot; target=&quot;_blank&quot;&gt;Disini&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;white-space: normal;&quot;&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
#Silakan Comment Kalau Masih Ada yang Error&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Baca Juga&amp;nbsp;&lt;a href=&quot;http://khususspemula.blogspot.com/search/label/Pemrograman&quot;&gt;Kumpulan Project Pemrograman&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-family: &#39;Times New Roman&#39;; text-align: center; white-space: normal;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;b&gt;Semoga Bermanfaat Kawan&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/8481568414550712011/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2015/01/kalkulator-sederhana_23.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8481568414550712011'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8481568414550712011'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2015/01/kalkulator-sederhana_23.html' title='Kalkulator Sederhana'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtELcg4-QPtJ6T_Hk27Puga3dNxoE1oha4_fsOkYmEznue1N2gDKZjaQKuhsGahb34gqaSDjSstDAgQt43AfWR59a_oqjb7wCW3acOrczZTEkAJKVHdfNVLJgoptERIgpod16U8eLynXE/s72-c/Loan+Calculator.png" height="72" width="72"/><thr:total>4</thr:total><georss:featurename>Kedawong, Diwek, Kecamatan Jombang, Jawa Timur 61471, Indonesia</georss:featurename><georss:point>-7.5797255 112.25181420000001</georss:point><georss:box>-7.5954655 112.23164420000002 -7.5639855 112.2719842</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-8042514651477486662</id><published>2015-01-22T19:38:00.001+07:00</published><updated>2015-03-19T18:32:13.354+07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Codeblock"/><title type='text'>Kotak Manual C++ Codeblock</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;b&gt;Script Membuat Kotak Secara Manual&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;b&gt;dengan C++ Codeblock&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFnHLfe8pXcUwsLx2HMD4t0Sxf77uKl-aDug1FuhsEYePe65DHY_70dfG70wDsNeK6tnSxP5o_s6u0Rhxlg7ShCD066l3enPyh9UQaeDR5Ea4GZ2gMp7RM-6A_skTAAMFko_wSZRM02js/s1600/codeblocks.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;codeblock&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFnHLfe8pXcUwsLx2HMD4t0Sxf77uKl-aDug1FuhsEYePe65DHY_70dfG70wDsNeK6tnSxP5o_s6u0Rhxlg7ShCD066l3enPyh9UQaeDR5Ea4GZ2gMp7RM-6A_skTAAMFko_wSZRM02js/s1600/codeblocks.png&quot; height=&quot;193&quot; title=&quot;codeblock&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Berikut script untuk membuat sebuah program sederhana &lt;i&gt;Kotak Secara Manual, &lt;/i&gt;script yang saya buat ini menggunakan 3 variabel, yaitu untuk menyimpan variabel &lt;i&gt;panjang, lebar, dan kolom&lt;/i&gt; yang dihasilkan. Dan secript yang saya buat ini memadukan antara fungsi &lt;i&gt;For.. &lt;/i&gt;dan juga fungsi &lt;i&gt;if..else...&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;Script yang saya buat ini sangat mudah dipahami jadi saya tidak perlu panjang lebar menjelaskannya ya kawan..hehe langsung aja sedot!! :)&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;nb:&amp;nbsp;&lt;/span&gt;&lt;i style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;saya kasih error dikit ya dibagian &amp;lt; iostream&amp;gt;&lt;br /&gt;benerinnya gampang koq..tinggal&amp;nbsp;&lt;b&gt;hapus&lt;/b&gt; 1 karakter aja :)&lt;/i&gt;&lt;br /&gt;
&lt;i style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i style=&quot;font-family: Times, &#39;Times New Roman&#39;, serif;&quot;&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;iostream &amp;gt;&lt;iostream&gt;
using namespace std;
int main()
{
    int panjang,lebar,baris,kolom;
    cout&amp;lt;&amp;lt;&quot;Panjang Kotak yang Anda Inginkan:&quot;;
    cin&amp;gt;&amp;gt; panjang;

    cout&amp;lt;&amp;lt;&quot;Lebar Kotak yang Anda Inginkan:&quot;;
    cin&amp;gt;&amp;gt; lebar;

    for (baris=1; baris&amp;lt;=lebar; baris++)
    {
        if(baris == 1 || baris == lebar)
    {
    for (kolom =1; kolom &amp;lt;= panjang ;kolom++)
         cout&amp;lt;&amp;lt; &quot;#&quot;;

    cout&amp;lt;&amp;lt; &quot;\n&quot;;
    }
    else {
         cout&amp;lt;&amp;lt; &quot;*&quot;;
         for (kolom=2;kolom &amp;lt; panjang; kolom++)
            cout &amp;lt;&amp;lt;&quot; &quot;;
        cout &amp;lt;&amp;lt;&quot;*\n&quot;;    }  }  }&lt;/iostream&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Download Source Code &lt;a href=&quot;https://www.dropbox.com/s/rckxmi1t2jo4f9s/Kotak.rar?dl=0&quot; target=&quot;_blank&quot;&gt;DISINI&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
#Silakan Comment Kalau Masih Ada yang Error&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;b&gt;Baca Juga&amp;nbsp;&lt;a href=&quot;http://khususspemula.blogspot.com/search/label/Pemrograman&quot;&gt;Kumpulan Project Pemrograman&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-family: Times, Times New Roman, serif; font-size: large;&quot;&gt;&lt;b&gt;Semoga Bermanfaat Kawan&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/8042514651477486662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2015/01/kotak-manual-c-codeblock_22.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8042514651477486662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/8042514651477486662'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2015/01/kotak-manual-c-codeblock_22.html' title='Kotak Manual C++ Codeblock'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjFnHLfe8pXcUwsLx2HMD4t0Sxf77uKl-aDug1FuhsEYePe65DHY_70dfG70wDsNeK6tnSxP5o_s6u0Rhxlg7ShCD066l3enPyh9UQaeDR5Ea4GZ2gMp7RM-6A_skTAAMFko_wSZRM02js/s72-c/codeblocks.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Kedawong, Diwek, Kecamatan Jombang, Jawa Timur 61471, Indonesia</georss:featurename><georss:point>-7.5797255 112.25181420000001</georss:point><georss:box>-7.5954655 112.23164420000002 -7.5639855 112.2719842</georss:box></entry><entry><id>tag:blogger.com,1999:blog-8219371128835127478.post-6772726529122222696</id><published>2014-08-11T16:57:00.000+07:00</published><updated>2015-08-11T16:59:55.648+07:00</updated><title type='text'>Tentang Saya</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&amp;nbsp; &lt;b&gt;Nama : Pesek (&lt;i&gt;Nama Samaran..hehe&lt;/i&gt;)&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;Alamat : Ds. Kedawong 05/03 Kec. Diwek Kab. Jombang&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;Alasan Ngeblog : Ngisi waktu luang, Pengen Berbagi Ilmu..ya itu aja sih!! hehe&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;img alt=&quot;about us&quot; height=&quot;225&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicRP1QcgSj-dkH7dHsnx3bwcU5B_3xtQCUUobZIaa-dwiDN9lDYXEKflvRPKuTOFU18KasKDV2gvxEX-h0EqD3pAZcIfoN4jkUWW91DpIkaXbybuOoHSfxLV-zdB6hTV-6k2pBcgO1pns/s320/about-us.jpg&quot; style=&quot;border: none;&quot; title=&quot;egreetings.india.gov.in&quot; width=&quot;320&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Pendidikan:&lt;br /&gt;
- RA Miftahul Ulum Kedawong&lt;br /&gt;
- MI Miftahul Ulum Kedawong&lt;br /&gt;
- SMPN 1 Diwek Jombang&lt;br /&gt;
- SMAN Jogoroto Jombang&lt;br /&gt;
- UNIPDU Jombang (Masih Proses..hehe)&lt;br /&gt;
&lt;br /&gt;
Organisasi:&lt;br /&gt;
- Saya males berorganisasi, sekarang se sebenarnya ikut salah satu organisasi extra kampus, tapi males juga, intrik-intrik politik dengan permainan kotor yang membuat saya enggan untuk berkutat dalam hal seperti itu, meskipun ada yang bilang rugi lah anak kuliahan gak ikut organisasi, tapi toh, pilihan orang beda-beda kan, memperjuangkan sesuatu hal untuk kemajuan bersama tidak cuma satu jalan, saya punya cara sendiri untuk melakukan sesuatu untuk orang lain. hehe.....&lt;br /&gt;
&lt;br /&gt;
Motto hidup &quot;You Can Because You Think You Can - (&lt;i&gt;Om Deddy Corbuzier&lt;/i&gt;)&quot;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://ingatini.blogspot.com/feeds/6772726529122222696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://ingatini.blogspot.com/2014/08/tentang-saya.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/6772726529122222696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8219371128835127478/posts/default/6772726529122222696'/><link rel='alternate' type='text/html' href='http://ingatini.blogspot.com/2014/08/tentang-saya.html' title='Tentang Saya'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicRP1QcgSj-dkH7dHsnx3bwcU5B_3xtQCUUobZIaa-dwiDN9lDYXEKflvRPKuTOFU18KasKDV2gvxEX-h0EqD3pAZcIfoN4jkUWW91DpIkaXbybuOoHSfxLV-zdB6hTV-6k2pBcgO1pns/s72-c/about-us.jpg" height="72" width="72"/><thr:total>0</thr:total></entry></feed>