<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>เงื่อนไขวนซ้ำ by 09 ณัฐชนน ด้วงสุข</title>
      <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc</link>
      <description>While / Do-While /  for</description>
      <language>en-us</language>
      <pubDate>2021-11-17 06:44:31 UTC</pubDate>
      <lastBuildDate>2024-07-24 08:38:53 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>For </title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896156599</link>
         <description><![CDATA[<div>&nbsp; &nbsp;คำสั่ง for เป็นคำสั่งที่สั่งให้ประมวลผลคำสั่ง หรือชุดคำสั่ง วนซ้ำได้หลายรอบ โดยต้องกำหนดจำนวนรอบให้การวนซ้ำที่แน่นอน</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1344378483/772828dc7218046d35ce749d0cf9ce30/l04_02_for.png" />
         <pubDate>2021-11-17 06:55:03 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896156599</guid>
      </item>
      <item>
         <title>รูปเเบบคำสั่ง</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896158869</link>
         <description><![CDATA[<div><em>1</em> | <em>//Program: Counting.c</em><br><em>2</em> |&nbsp; <br><em>3</em> | #include &lt;stdio.h&gt;<br><em>4</em> |&nbsp; <br><em>5</em> | void main() {<br><em>6</em> | <br><em>7</em> |&nbsp; &nbsp;<strong>int</strong> x, y;<br><em>8</em> |&nbsp; <br><em>9</em> |&nbsp; &nbsp;<strong>printf(</strong>"Count increase\n");<br><em>10</em> |&nbsp; &nbsp;<strong>for(x=1; x&lt;=5; x++)</strong><br><em>11</em> |&nbsp; &nbsp; &nbsp;<strong>printf(</strong>"%d\n", x);<br><em>12</em> |&nbsp; <br><em>13</em> |&nbsp; &nbsp;<strong>printf(</strong>"Count decrease\n");<br><em>14</em> |&nbsp; &nbsp;<strong>for(y=5; y&lt;=1; y--)</strong><br><em>15</em> |&nbsp; &nbsp; &nbsp;<strong>printf(</strong>"%d\n", y);<br><em>16</em> |&nbsp; <br><em>17</em> |&nbsp; &nbsp;<strong>getch();</strong><br><em>18</em> | <strong>}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 06:56:24 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896158869</guid>
      </item>
      <item>
         <title>ผลลัพธ์</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896159998</link>
         <description><![CDATA[<div>Count increase<br>1<br>2<br>3<br>4<br>5<br><br>Count decrease<br>5<br>4<br>3<br>2<br>1</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 06:57:05 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896159998</guid>
      </item>
      <item>
         <title>เงื่อนไขวนซ้ำ</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896162565</link>
         <description><![CDATA[<div>&nbsp; &nbsp; &nbsp;การวนซ้ำ เป็นการกำหนดให้มีการประมวลผลคำสั่งซ้ำ ๆ กัน ตั้งแต่ 1 ครั้งขึ้นไป ทั้งนี้ขึ้นอยู่กับเงื่อนไขในการทำงาน ซึ่งจะช่วยให้การเขียนโปรแกรมได้ง่าย สะดวก ไม่ต้องเขียนข้อความคำสั่งเดิมหลายครั้ง ทำให้โปรแกรมมีความกระชับ สามารถตรวจสอบความผิดพลาดได้ง่าย</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 06:58:38 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896162565</guid>
      </item>
      <item>
         <title>While</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896163831</link>
         <description><![CDATA[]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1344378483/d493d2de86580851e93d0fcfae61e7dc/l04_02_while.png" />
         <pubDate>2021-11-17 06:59:36 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896163831</guid>
      </item>
      <item>
         <title>รูปเเบบคำสั่ง</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896164651</link>
         <description><![CDATA[<div><em>1</em> | <em>//Program: InOut1.c</em><br><em>2</em> |&nbsp; <br><em>3</em> | #include &lt;stdio.h&gt;<br><em>4</em> |&nbsp; <br><em>5</em> | void main()<strong>{</strong><br><em>6</em> | <br><em>7</em> |&nbsp; &nbsp;<strong>int</strong> iochar;<br><em>8</em> |&nbsp; <br><em>9</em> | &nbsp; iochar<strong> = getchar();</strong><br><em>10</em> |&nbsp; &nbsp;<strong>while(iochar != EOF){</strong><br><em>11</em> |&nbsp; &nbsp; &nbsp;<strong>putchar(</strong>iochar<strong>);</strong><br><em>12</em> |&nbsp; &nbsp; &nbsp;iochar <strong>= getchar();</strong><br><em>13</em> |&nbsp; &nbsp;<strong>}</strong><br><em>14</em> |&nbsp; &nbsp;<br><em>15</em> |&nbsp; &nbsp;<strong>getch();</strong><br><em>16</em> | <strong>}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 07:00:13 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896164651</guid>
      </item>
      <item>
         <title>ผลลัพธ์</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896165525</link>
         <description><![CDATA[<div>1&nbsp;<br>1<br>v&nbsp;<br>v<br>3&nbsp;<br>3<br>-9&nbsp;<br>-9<br>^z</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 07:00:52 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896165525</guid>
      </item>
      <item>
         <title>Do-While</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896167703</link>
         <description><![CDATA[<div>&nbsp; &nbsp;คำสั่งจะถูกประมวลผลโดยไม่มีเงื่อนไขใด ๆ ในรอบแรก จากนั้นเงื่อนไขการวนซ้ำจะถูกตรวจสอบค่า และคำสั่ง จะถูกประมวลผลซ้ำอีกทุกครั้งที่เงื่อนไขการวนซ้ำ มีค่าเป็น <strong>จริง</strong> และในครั้งแรกที่เงื่อนไขการวนซ้ำ มีค่าเป็นเท็จ คำสั่ง do-while จึงจะสิ้นสุดลง</div>]]></description>
         <enclosure url="https://padlet-uploads.storage.googleapis.com/1344378483/f4398ffde1f5f34a331a8bda05f5b7e9/l04_02_do_while.png" />
         <pubDate>2021-11-17 07:02:28 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896167703</guid>
      </item>
      <item>
         <title>รูปเเบบคำสั่ง</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896171707</link>
         <description><![CDATA[<div><em>1</em> | <em>//Program: Power.c</em><br><em>2</em> |&nbsp; <br><em>3</em> | #define BASE 2<br><em>4</em> | #include &lt;stdio.h&gt;<br><em>5</em> | #include &lt;math.h&gt;<br><em>6</em> |&nbsp; <br><em>7</em> | void main()<strong>{</strong><br><em>8</em> | <br><em>9</em> |&nbsp; &nbsp;<strong>int</strong> count = 0, limit;<br><em>8</em> |&nbsp; <br><em>9</em> |&nbsp; &nbsp;<strong>printf(</strong>"Enter an upper limit: ");<br><em>10</em> |&nbsp; &nbsp;<strong>scanf(</strong>"%d", &amp;limit);<br><em>11</em> |&nbsp; &nbsp;<strong>printf(</strong>"Power\tValue\n");<br><em>11</em> |&nbsp; &nbsp;<strong>do</strong><br><em>12</em> |&nbsp; &nbsp; &nbsp;<strong>printf(</strong>"%d\t%.2f\n", count, pow(BASE, count));<br><em>11</em> |&nbsp; &nbsp;<strong>while (count++ != limit)</strong>;<br><em>13</em> |&nbsp; &nbsp;<strong>}</strong><br><em>14</em> |&nbsp; &nbsp;<br><em>15</em> |&nbsp; &nbsp;<strong>getch();</strong><br><em>16</em> | <strong>}</strong></div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 07:05:22 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896171707</guid>
      </item>
      <item>
         <title>ผลลัพธ์</title>
         <author>nanchanon9513</author>
         <link>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896172424</link>
         <description><![CDATA[<div>Enter an upper limit: 5&nbsp;<br>Power&nbsp; Value<br>0&nbsp; &nbsp; &nbsp; 1.00<br>1&nbsp; &nbsp; &nbsp; 2.00<br>2&nbsp; &nbsp; &nbsp; 4.00<br>3&nbsp; &nbsp; &nbsp; 8.00<br>4&nbsp; &nbsp; &nbsp; 16.00<br>5&nbsp; &nbsp; &nbsp; 32.00</div>]]></description>
         <enclosure url="" />
         <pubDate>2021-11-17 07:05:51 UTC</pubDate>
         <guid>https://padlet.com/nanchanon9513/prwbr53ojab81bzc/wish/1896172424</guid>
      </item>
   </channel>
</rss>
