<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Logika_Perulangan_WHILE_DO_Pascal</id>
	<title>Logika Perulangan WHILE DO Pascal - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://kangtain.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Logika_Perulangan_WHILE_DO_Pascal"/>
	<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;action=history"/>
	<updated>2026-05-14T12:07:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=1270&amp;oldid=prev</id>
		<title>Kangtain at 09:34, 16 November 2021</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=1270&amp;oldid=prev"/>
		<updated>2021-11-16T09:34:14Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:34, 16 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sebagai latihan, kita membuat kode program yang menghasilkan teks: “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;”, “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt;”, … Hingga “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;”. Hanya 5 baris. Silahkan modifikasi kode program pada [[Perulangan WHILE DO dalam Pascal|halaman ini]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sebagai latihan, kita membuat kode program yang menghasilkan teks: “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;”, “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt;”, … Hingga “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;”. Hanya 5 baris. Silahkan modifikasi kode program pada [[Perulangan WHILE DO dalam Pascal|halaman ini]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {{Code|Pascal}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l24&quot;&gt;Line 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tapi, juga bisa menggunakan kode program berikut:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tapi, juga bisa menggunakan kode program berikut:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {{Code|Pascal}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=1023&amp;oldid=prev</id>
		<title>Kangtain at 16:24, 8 November 2021</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=1023&amp;oldid=prev"/>
		<updated>2021-11-08T16:24:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:24, 8 November 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sebagai latihan, kita membuat kode program yang menghasilkan teks: “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;”, “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt;”, … Hingga “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;”. Hanya 5 baris. Silahkan modifikasi kode program pada [[Perulangan WHILE DO dalam Pascal|halaman ini]].&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Sebagai latihan, kita membuat kode program yang menghasilkan teks: “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;”, “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt;”, … Hingga “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;”. Hanya 5 baris. Silahkan modifikasi kode program pada [[Perulangan WHILE DO dalam Pascal|halaman ini]].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {{Code|Pascal}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l23&quot;&gt;Line 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tapi, juga bisa menggunakan kode program berikut:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tapi, juga bisa menggunakan kode program berikut:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt; {{Code|Pascal}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  program while_do;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  uses crt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
	<entry>
		<id>https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=163&amp;oldid=prev</id>
		<title>Kangtain: Created page with &quot;Untuk bisa membuat perulangan dengan WHILE DO, kita perlu pemahaman logika. Logika diperlukan untuk menentukan nilai awal dan kondisi akhir.  Sebagai latihan, kita membuat kod...&quot;</title>
		<link rel="alternate" type="text/html" href="https://kangtain.com/wiki/index.php?title=Logika_Perulangan_WHILE_DO_Pascal&amp;diff=163&amp;oldid=prev"/>
		<updated>2021-10-30T12:51:20Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Untuk bisa membuat perulangan dengan WHILE DO, kita perlu pemahaman logika. Logika diperlukan untuk menentukan nilai awal dan kondisi akhir.  Sebagai latihan, kita membuat kod...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Untuk bisa membuat perulangan dengan WHILE DO, kita perlu pemahaman logika. Logika diperlukan untuk menentukan nilai awal dan kondisi akhir.&lt;br /&gt;
&lt;br /&gt;
Sebagai latihan, kita membuat kode program yang menghasilkan teks: “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;5&amp;lt;/code&amp;gt;”, “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;6&amp;lt;/code&amp;gt;”, … Hingga “Variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt; sekarang bernilai: &amp;lt;code&amp;gt;10&amp;lt;/code&amp;gt;”. Hanya 5 baris. Silahkan modifikasi kode program pada [[Perulangan WHILE DO dalam Pascal|halaman ini]].&lt;br /&gt;
&lt;br /&gt;
 program while_do;&lt;br /&gt;
 uses crt;&lt;br /&gt;
 var&lt;br /&gt;
   i: integer;&lt;br /&gt;
 begin&lt;br /&gt;
   clrscr;&lt;br /&gt;
   i:= 5;&lt;br /&gt;
  &lt;br /&gt;
   while i &amp;lt;= 10 do&lt;br /&gt;
     begin&lt;br /&gt;
       writeln(&amp;#039;Variabel i sekarang bernilai: &amp;#039;,i);&lt;br /&gt;
       i:= i + 1;&lt;br /&gt;
     end;&lt;br /&gt;
   readln;&lt;br /&gt;
 end.&lt;br /&gt;
&lt;br /&gt;
Kuncinya adalah bagaimana menentukan kondisi awal variabel &amp;lt;code&amp;gt;i&amp;lt;/code&amp;gt;, dan kondisi akhir dari perulangan. Dengan membuat  &amp;lt;code&amp;gt;i:= 5&amp;lt;/code&amp;gt;, dan while &amp;lt;code&amp;gt;i &amp;lt;= 10 do&amp;lt;/code&amp;gt;, artinya nilai i akan mulai dari 5, 6, 7, 8, 9, dan 10.&lt;br /&gt;
&lt;br /&gt;
Tapi, juga bisa menggunakan kode program berikut:&lt;br /&gt;
&lt;br /&gt;
 program while_do;&lt;br /&gt;
 uses crt;&lt;br /&gt;
 var&lt;br /&gt;
   i: integer;&lt;br /&gt;
 begin&lt;br /&gt;
   clrscr;&lt;br /&gt;
   i:= 5;&lt;br /&gt;
  &lt;br /&gt;
   while i &amp;lt; 11 do&lt;br /&gt;
     begin&lt;br /&gt;
       writeln(&amp;#039;Variabel i sekarang bernilai: &amp;#039;,i);&lt;br /&gt;
       i:= i + 1;&lt;br /&gt;
     end;&lt;br /&gt;
   readln;&lt;br /&gt;
 end.&lt;br /&gt;
&lt;br /&gt;
Dapatkah kita melihat bedanya? Perhatikan bahwa kali ini menggunakan kondisi  while &amp;lt;code&amp;gt;i &amp;lt; 11 do&amp;lt;/code&amp;gt;. Sebenarnya ini sama seperti &amp;lt;code&amp;gt;while i &amp;lt;= 10 do&amp;lt;/code&amp;gt;. Angka 10 akan TRUE jika dibandingkan dengan “&amp;lt;code&amp;gt;&amp;lt; 11″, maupun “&amp;lt;= 10&amp;lt;/code&amp;gt;“.&lt;br /&gt;
&lt;br /&gt;
Konsep seperti ini agar selalu diperhatikan ketika membuat perulangan WHILE DO.&lt;br /&gt;
&lt;br /&gt;
==Terkait==&lt;br /&gt;
*[[Perulangan WHILE DO dalam Pascal]]&lt;br /&gt;
&lt;br /&gt;
==Referensi==&lt;br /&gt;
*[https://bit.ly/3AE6HOg duniailkom.com]&lt;br /&gt;
&lt;br /&gt;
[[Category:Pascal]]&lt;/div&gt;</summary>
		<author><name>Kangtain</name></author>
	</entry>
</feed>