<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: C Tutorial &#8211; for loop, while loop, break and continue</title>
	<atom:link href="http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/feed" rel="self" type="application/rss+xml" />
	<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue</link>
	<description>CodingUnit is your online resource for learning to program. Tutorials on C, C++, PHP, Python, MySQL, Java, JQuery, Opengl, DirectX and much more!</description>
	<lastBuildDate>Tue, 21 May 2013 20:09:52 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: manoj</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6755</link>
		<dc:creator>manoj</dc:creator>
		<pubDate>Wed, 24 Apr 2013 06:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6755</guid>
		<description><![CDATA[#include 
using namespace std;
int main()
{
	int n,factorial=1;
	cout&lt;&gt;n;
	for(int i=n;i&gt;0;i--){
		factorial=i*factorial;
	}
	cout&lt;&lt;factorial&lt;&lt;endl;
	return (0);
}]]></description>
		<content:encoded><![CDATA[<p>#include<br />
using namespace std;<br />
int main()<br />
{<br />
	int n,factorial=1;<br />
	cout&lt;&gt;n;<br />
	for(int i=n;i&gt;0;i&#8211;){<br />
		factorial=i*factorial;<br />
	}<br />
	cout&lt;&lt;factorial&lt;&lt;endl;<br />
	return (0);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: hemanth</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6719</link>
		<dc:creator>hemanth</dc:creator>
		<pubDate>Fri, 12 Apr 2013 13:25:34 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6719</guid>
		<description><![CDATA[nice gather]]></description>
		<content:encoded><![CDATA[<p>nice gather</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ush</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6666</link>
		<dc:creator>ush</dc:creator>
		<pubDate>Sun, 31 Mar 2013 17:47:32 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6666</guid>
		<description><![CDATA[it was good n easy..
plzz tell the purpose of getch and also explain nested loops if possible..
thankyou]]></description>
		<content:encoded><![CDATA[<p>it was good n easy..<br />
plzz tell the purpose of getch and also explain nested loops if possible..<br />
thankyou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: werke ayalew</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6636</link>
		<dc:creator>werke ayalew</dc:creator>
		<pubDate>Fri, 22 Mar 2013 01:51:55 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6636</guid>
		<description><![CDATA[your simple error is only on the declaration of &#039;a&#039; that must be an integer.otherwise the compiler doesn&#039;t know what variable &#039;a&#039; is.]]></description>
		<content:encoded><![CDATA[<p>your simple error is only on the declaration of &#8216;a&#8217; that must be an integer.otherwise the compiler doesn&#8217;t know what variable &#8216;a&#8217; is.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: werke ayalew</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6635</link>
		<dc:creator>werke ayalew</dc:creator>
		<pubDate>Fri, 22 Mar 2013 01:46:42 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6635</guid>
		<description><![CDATA[#include
  void main(void)
{
  int a;
 for(a=2;a&lt;=400;a+2)
  {
printf(&quot;%d&quot;,a);
   }
   }]]></description>
		<content:encoded><![CDATA[<p>#include<br />
  void main(void)<br />
{<br />
  int a;<br />
 for(a=2;a&lt;=400;a+2)<br />
  {<br />
printf(&quot;%d&quot;,a);<br />
   }<br />
   }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: M.Salman</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6619</link>
		<dc:creator>M.Salman</dc:creator>
		<pubDate>Sun, 17 Mar 2013 22:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6619</guid>
		<description><![CDATA[void main(void)
{
for(a=2;a&lt;=400;a+2)
{
printf(&quot;%d&quot;,a);
}

i m not getting the series of even num help me???? output showing only 400 nd its blinking !! :S]]></description>
		<content:encoded><![CDATA[<p>void main(void)<br />
{<br />
for(a=2;a&lt;=400;a+2)<br />
{<br />
printf(&quot;%d&quot;,a);<br />
}</p>
<p>i m not getting the series of even num help me???? output showing only 400 nd its blinking !! :S</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kundan</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6609</link>
		<dc:creator>kundan</dc:creator>
		<pubDate>Sat, 16 Mar 2013 07:46:39 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6609</guid>
		<description><![CDATA[thankyou]]></description>
		<content:encoded><![CDATA[<p>thankyou</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: prince pandey</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6577</link>
		<dc:creator>prince pandey</dc:creator>
		<pubDate>Thu, 07 Mar 2013 09:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6577</guid>
		<description><![CDATA[sir this is very nice tutorial by you]]></description>
		<content:encoded><![CDATA[<p>sir this is very nice tutorial by you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohamed F.</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6541</link>
		<dc:creator>Mohamed F.</dc:creator>
		<pubDate>Sun, 24 Feb 2013 16:36:16 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6541</guid>
		<description><![CDATA[While testing on continue; i discovered it could be used to skip a certain number too, like when using this:
	i = 0;
	while ( i++ &lt; 20 )
	{
		if ( i == 16 ) continue;
		printf(&quot;number %d\n&quot;, i );
	}
it will skip the number 16 but will print every number in the range 1 to 20]]></description>
		<content:encoded><![CDATA[<p>While testing on continue; i discovered it could be used to skip a certain number too, like when using this:<br />
	i = 0;<br />
	while ( i++ &lt; 20 )<br />
	{<br />
		if ( i == 16 ) continue;<br />
		printf(&quot;number %d\n&quot;, i );<br />
	}<br />
it will skip the number 16 but will print every number in the range 1 to 20</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mujeeb</title>
		<link>http://www.codingunit.com/c-tutorial-for-loop-while-loop-break-and-continue/comment-page-2#comment-6382</link>
		<dc:creator>mujeeb</dc:creator>
		<pubDate>Wed, 30 Jan 2013 12:44:07 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/?p=165#comment-6382</guid>
		<description><![CDATA[good job sir]]></description>
		<content:encoded><![CDATA[<p>good job sir</p>
]]></content:encoded>
	</item>
</channel>
</rss>
