<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>EmbLogic &#187; E14 Star Pattern Using for Loop.</title>
	<atom:link href="https://www.emblogic.com/blog/tag/e14-star-pattern-using-for-loop/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Print Star Pattern using for loop.</title>
		<link>https://www.emblogic.com/blog/08/print-star-pattern-using-for-loop/</link>
		<comments>https://www.emblogic.com/blog/08/print-star-pattern-using-for-loop/#comments</comments>
		<pubDate>Sat, 18 Aug 2012 19:21:08 +0000</pubDate>
		<dc:creator><![CDATA[ayush.gupta]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[E14 Star Pattern Using for Loop.]]></category>
		<category><![CDATA[shalini singhal]]></category>

		<guid isPermaLink="false">http://emblogic.org/blog/?p=4881</guid>
		<description><![CDATA[#include&#60;stdio.h&#62; int main () { printf(&#8220;Program to print a pattern of stars.\n&#8221;); int i1,i2,i3,val; printf(&#8220;Enter a number:\n&#8221;); scanf(&#8220;%d&#8221;,&#38;val); for(i1=0;i1&#60;val*2;i1=i1+2) { for(i3=val*2;i3&#62;i1;i3=i3-2) { printf(&#8221; &#8220;); } for(i2=0;i2&#60;=i1;i2++) { printf(&#8220;*&#8221;); } printf(&#8220;\n&#8221;); } return 0; }]]></description>
				<content:encoded><![CDATA[<p>#include&lt;stdio.h&gt;<br />
int main ()<br />
{<br />
printf(&#8220;Program to print a pattern of stars.\n&#8221;);<br />
int i1,i2,i3,val;<br />
printf(&#8220;Enter a number:\n&#8221;);<br />
scanf(&#8220;%d&#8221;,&amp;val);<br />
for(i1=0;i1&lt;val*2;i1=i1+2)<br />
{<br />
for(i3=val*2;i3&gt;i1;i3=i3-2)<br />
{<br />
printf(&#8221; &#8220;);<br />
}<br />
for(i2=0;i2&lt;=i1;i2++)<br />
{<br />
printf(&#8220;*&#8221;);</p>
<p>}<br />
printf(&#8220;\n&#8221;);<br />
}<br />
return 0;<br />
}</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/08/print-star-pattern-using-for-loop/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
