<?xml version="1.0"?>
<rss version="2.0">
   <channel>
      <title>c program by MOHD SHAWAL BIN JADIN</title>
      <link>https://padlet.com/mohdshawal/cpa</link>
      <description>Made with a taste for adventure</description>
      <language>en-us</language>
      <pubDate>2018-07-14 04:39:37 UTC</pubDate>
      <lastBuildDate>2025-11-01 17:16:01 UTC</lastBuildDate>
      <webMaster>hello@padlet.com</webMaster>
      <image>
         <url></url>
      </image>
      <item>
         <title>Charles</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270212100</link>
         <description><![CDATA[<div>main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n Enter the value of n:");<br>&nbsp; &nbsp; scanf("%d",&amp;n);<br>&nbsp; &nbsp; for(i=0;i&lt;=n;i+=2)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf("\n%d",i);<br>&nbsp; &nbsp; }<br><br>&nbsp; &nbsp; return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:16:56 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270212100</guid>
      </item>
      <item>
         <title>T.m.thaqif</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270212127</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>main()<br>  {<br>    int i, n;<br>    printf("\n Enter the value of n :");<br>    scanf("%d", &amp;n);<br>    for(i=0; i&lt;= n; i=i+2)<br>    {<br>       printf("\n %d",i);<br>    }<br>    return 0;<br>  }<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:17:34 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270212127</guid>
      </item>
      <item>
         <title>irrwardy irwan</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270212254</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n ambiktoh :");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; i=0;<br>&nbsp; &nbsp; do<br><br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; if(i&gt;50||i&lt;40)<br><br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf("\n %d",i);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; else{printf("\n takmboh-&gt;%d",i);}<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; if(i&gt;=70)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &nbsp; &nbsp; i++;<br><br>&nbsp; &nbsp; }<br>while(i&lt;=n);<br><br>----------------------------------------------------<br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n enter value of n:");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; i=0;<br>&nbsp; &nbsp; while(i&lt;=n)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; if(i&gt;50||i&lt;40)<br>&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; printf("\n %d",i);<br>&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp; &nbsp; else{printf("\n skip-&gt; %d",i);}<br>&nbsp; &nbsp; &nbsp; &nbsp; i++;<br><br>&nbsp; &nbsp; }<br><br><br><br><br>&nbsp; &nbsp; return 0;<br>______________________________<br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n enter value of n:");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; for(i=n; i&gt;=0; i--)<br>&nbsp; &nbsp; { if(i&lt;=39 || i&gt;50)<br><br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; printf("\n %d",i);<br><br><br><br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}<br>________________________________<br><br><br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n enter value of n:");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; for(i=n; i&gt;=0; i--)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf("\n %d",i);<br><br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>}<br>________________________________<br><br>#include&nbsp;<br>#include&nbsp;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\nenter value of n:");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; for(i=0; i&lt;=10; i++)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf("\n %d",i);<br>&nbsp; &nbsp; &nbsp; &nbsp; i=i+1;<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:21:17 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270212254</guid>
      </item>
      <item>
         <title>hairi</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270212508</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br><br>int main()<br>{<br>    int i, n;<br>    printf( "masukkan nilai n:");<br>    scanf("%d",&amp;n);<br>    for (i=n; i&gt;=0; i--)<br>    { printf("%d",i);<br>    }<br><br>    return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:25:12 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270212508</guid>
      </item>
      <item>
         <title>10-0 t.m.thaqif</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270212789</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>main()<br>&nbsp; {<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf("\n Enter the value of n :");<br>&nbsp; &nbsp; scanf("%d", &amp;n);<br>&nbsp; &nbsp; for(i=n; i&gt;=0;i--)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp;printf("\n %d",i);<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; return 0;<br>&nbsp; }<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:31:53 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270212789</guid>
      </item>
      <item>
         <title>Eizzuddin </title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270213477</link>
         <description><![CDATA[<div>40 dan 50 skip<br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br><br>main()<br><br><br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf( "masukkan nilai n:");<br>&nbsp; &nbsp; scanf("%d",&amp;n);<br>&nbsp; &nbsp; for (i=n; i&gt;=0; i--)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; if (i&lt;=39 ||i&gt;50)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf ("\n %d", i);<br>&nbsp; &nbsp; }<br><br><br><br>&nbsp; &nbsp; }<br><br><br><br>&nbsp; &nbsp; return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:45:57 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270213477</guid>
      </item>
      <item>
         <title>yasmawi sea17022</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270213790</link>
         <description><![CDATA[<div>skip 40-50<br><br>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br>int main()<br>{<br>&nbsp; &nbsp; int i,n;<br>&nbsp; &nbsp; printf("\n Enter the value of n:");<br>&nbsp; &nbsp; scanf("%d",&amp;n);<br>&nbsp; &nbsp; for (i=n;&nbsp; i&gt;=0 ;&nbsp; i--)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp;if ( i&lt;=39 || i&gt;50)<br>&nbsp; &nbsp; &nbsp;printf("\n %d",i);<br>&nbsp; &nbsp; }<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:51:50 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270213790</guid>
      </item>
      <item>
         <title>#include &lt;stdio.h&gt;#include &lt;stdlib.h&gt;main(){    int i, n;    printf( &quot;masukkan nilai n:&quot;);    scanf(&quot;%d&quot;,&amp;n);    for (i=n; i&gt;=0; i--)    {      if (i&lt;=39 ||i&gt;50)    {        printf (&quot;\n %d&quot;, i);    }    }    return 0;}</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270213818</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 02:52:22 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270213818</guid>
      </item>
      <item>
         <title>main(){    int i, n;    printf( &quot;masukkan nilai n:&quot;);    scanf(&quot;%d&quot;,&amp;n);    i=0;    while(i&lt;=n)    {      if (i&gt;50 ||i&lt;40)    {        printf (&quot;\n %d&quot;, i);    }    else    {        printf(&quot;\n tutup -&gt; %d&quot;,i);    }i++;    }    return 0;}</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270215338</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 03:28:10 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270215338</guid>
      </item>
      <item>
         <title>main(){    int i, n;    printf( &quot;masukkan nilai n:&quot;);    scanf(&quot;%d&quot;,&amp;n);    i=0;    while(i&lt;=n)    {      if (i&gt;50 ||i&lt;40)    {        printf (&quot;\n %d&quot;, i);    }    else    {        printf(&quot;\n tutup -&gt; %d&quot;,i);    }i++;    }    return 0;}</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270215354</link>
         <description><![CDATA[]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 03:28:33 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270215354</guid>
      </item>
      <item>
         <title>dee</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270215359</link>
         <description><![CDATA[<div>main()<br><br><br>{<br>    int i, n;<br>    printf( "masukkan nilai n:");<br>    scanf("%d",&amp;n);<br>    i=0;<br>    while(i&lt;=n)<br>    {<br>      if (i&gt;50 ||i&lt;40)<br>    {<br>        printf ("\n %d", i);<br><br>    }<br>    else<br>    {<br>        printf("\n tutup -&gt; %d",i);<br>    }<br>i++;<br><br><br>    }<br><br><br><br>    return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 03:28:51 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270215359</guid>
      </item>
      <item>
         <title>while t.m.thaqif</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270215371</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>main()<br>  {<br>    int i, n;<br>    printf("\n Enter the value of n :");<br>    scanf("%d",&amp;n);<br>    i=0;<br>    while(i&lt;=n)<br>    {<br>        if(i&gt;50||i&lt;40)<br>     {<br>       printf("\n%d",i);<br>     }<br>    else{printf("\n skip -&gt; %d",i);}<br>    i++;<br>    }<br>  }</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 03:29:22 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270215371</guid>
      </item>
      <item>
         <title>do while</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270215678</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br><br><br>main()<br><br><br>{<br>&nbsp; &nbsp; int i, n;<br>&nbsp; &nbsp; printf( "masukkan nilai n:");<br>&nbsp; &nbsp; scanf("%d",&amp;n);<br>&nbsp; &nbsp; i=0; //Initialize<br>&nbsp; &nbsp; do<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; if (i&gt;50 || i&lt;40)<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf ("\n%d", i);<br>&nbsp; &nbsp; }<br>&nbsp; &nbsp; else<br>&nbsp; &nbsp; {<br>&nbsp; &nbsp; &nbsp; &nbsp; printf("\n skip -&gt; %d",i);<br>&nbsp; &nbsp; }<br><br>&nbsp; &nbsp; i++;//update<br>&nbsp; &nbsp; while (i&lt;=n);//Condition Test<br><br>&nbsp; &nbsp; }<br><br><br><br>&nbsp; &nbsp; return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 03:42:25 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270215678</guid>
      </item>
      <item>
         <title>code repeat</title>
         <author>mohdshawal</author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270216795</link>
         <description><![CDATA[<div>int main ()<br>{<br>float nextNum, sum = 0.0;<br>int count, totalNumbers, repeat=1;<br>while (repeat==1)<br>{<br>printf("How many numbers?: ");<br>scanf("%d", &amp;totalNumbers);<br>count = 0;<br>&nbsp; while (count &lt; totalNumbers)<br>&nbsp; { printf("Type the number and press ENTER&gt;&gt;");<br>&nbsp; &nbsp; &nbsp; &nbsp; scanf("%f", &amp;nextNum);<br>&nbsp; &nbsp; &nbsp; &nbsp; sum += nextNum;<br>&nbsp; &nbsp; &nbsp; &nbsp; count++;<br>&nbsp; }<br>&nbsp; printf("Sum = %f\n",sum);<br>&nbsp; printf("Average = %f\n", sum/count);<br>&nbsp;printf("press 1 to repeat OR 0 to exit&gt;&gt; ");<br>&nbsp;scanf("%d", &amp;repeat);<br>}<br>return 0;<br>}<br><br></div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 04:30:19 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270216795</guid>
      </item>
      <item>
         <title>Zulhairi</title>
         <author></author>
         <link>https://padlet.com/mohdshawal/cpa/wish/270216932</link>
         <description><![CDATA[<div>#include &lt;stdio.h&gt;<br>#include &lt;stdlib.h&gt;<br>main ()<br>{<br>int i, n;<br>printf("\n Enter the value of n:");<br>scanf("%d", &amp;n);<br>i=0;<br>do<br>{<br>    if(i&gt;50||i&lt;40)<br>    {<br>    printf("\n %d", i);<br>    }<br>    else{printf("\n |skip -&gt; %d",i);}<br>    i++;<br>}<br>while(i&lt;=n);<br><br>    return 0;<br>}</div>]]></description>
         <enclosure url="" />
         <pubDate>2018-07-15 04:37:55 UTC</pubDate>
         <guid>https://padlet.com/mohdshawal/cpa/wish/270216932</guid>
      </item>
   </channel>
</rss>
