<?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: 10 Challenging star pattern programs in C</title>
	<atom:link href="http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/feed" rel="self" type="application/rss+xml" />
	<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html</link>
	<description>Your mantra to job success</description>
	<lastBuildDate>Fri, 10 Feb 2012 11:11:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Ridzi0207</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27864</link>
		<dc:creator>Ridzi0207</dc:creator>
		<pubDate>Fri, 20 Jan 2012 16:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27864</guid>
		<description>plz tell me the code for
*******
*******
     ***
       *
     ***
*******</description>
		<content:encoded><![CDATA[<p>plz tell me the code for<br />
*******<br />
*******<br />
     ***<br />
       *<br />
     ***<br />
*******</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nkkoolguy</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27859</link>
		<dc:creator>Nkkoolguy</dc:creator>
		<pubDate>Wed, 18 Jan 2012 05:38:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27859</guid>
		<description>*


* * 


 
*


* * * *


    *


    * *


      *


* * * * * * * *


        *


        * *


          *


        * * * *


            *


            * *


              *Plz tell the code to get this pattern</description>
		<content:encoded><![CDATA[<p>*</p>
<p>* * </p>
<p> <br />
*</p>
<p>* * * *</p>
<p>    *</p>
<p>    * *</p>
<p>      *</p>
<p>* * * * * * * *</p>
<p>        *</p>
<p>        * *</p>
<p>          *</p>
<p>        * * * *</p>
<p>            *</p>
<p>            * *</p>
<p>              *Plz tell the code to get this pattern</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27857</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:44:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27857</guid>
		<description>Remove all  last line from it</description>
		<content:encoded><![CDATA[<p>Remove all  last line from it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27856</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:42:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27856</guid>
		<description>int first_term=1;


void main()
{

int a[100][100];
int c=1,i=0,j=0,k=0,m=0,n=0,x=0;

clrscr();
printf(&quot;Enter Rows and columns for the square matrix n&quot;);
scanf(&quot;%d&quot;,&amp;n);
x=n;
while(n&gt;=1)
{
for(k=0;k&lt;n;k++)
if(first_term){a[m][k+m]=c++;}
else{a[m][k+m]=0;}

for(k=1;k=0;k--)
if(first_term){a[n-1+m][k+m]=c++;}
else{a[n-1+m][k+m]=0;}


for(k=n-2;k&gt;0;k--)
if(first_term){a[k+m][m]=c++;}
else{a[k+m][m]=0;}


if(x==n){
first_term=0;}
n-=2;
m++;

}

for(i=0;i&lt;x;i++)
{
for(j=0;j&lt;x;j++)
{
  if(a[i][j]==0){printf(&quot;     &quot;);}
  else{printf(&quot;    *&quot;) ;}
}

printf(&quot;n&quot;);
}
getch();
}</description>
		<content:encoded><![CDATA[<p>int first_term=1;</p>
<p>void main()<br />
{</p>
<p>int a[100][100];<br />
int c=1,i=0,j=0,k=0,m=0,n=0,x=0;</p>
<p>clrscr();<br />
printf(&#8220;Enter Rows and columns for the square matrix n&#8221;);<br />
scanf(&#8220;%d&#8221;,&amp;n);<br />
x=n;<br />
while(n&gt;=1)<br />
{<br />
for(k=0;k&lt;n;k++)<br />
if(first_term){a[m][k+m]=c++;}<br />
else{a[m][k+m]=0;}</p>
<p>for(k=1;k=0;k&#8211;)<br />
if(first_term){a[n-1+m][k+m]=c++;}<br />
else{a[n-1+m][k+m]=0;}</p>
<p>for(k=n-2;k&gt;0;k&#8211;)<br />
if(first_term){a[k+m][m]=c++;}<br />
else{a[k+m][m]=0;}</p>
<p>if(x==n){<br />
first_term=0;}<br />
n-=2;<br />
m++;</p>
<p>}</p>
<p>for(i=0;i&lt;x;i++)<br />
{<br />
for(j=0;j&lt;x;j++)<br />
{<br />
  if(a[i][j]==0){printf(&quot;     &quot;);}<br />
  else{printf(&quot;    *&quot;) ;}<br />
}</p>
<p>printf(&quot;n&quot;);<br />
}<br />
getch();<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27855</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:41:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27855</guid>
		<description>can U give your Email id I Will Send u program solution  b-coz content not Fit on it,,,,,,,,,,,,,,,,If You have Already Solved this problem then Very Good Try...........</description>
		<content:encoded><![CDATA[<p>can U give your Email id I Will Send u program solution  b-coz content not Fit on it,,,,,,,,,,,,,,,,If You have Already Solved this problem then Very Good Try&#8230;&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27854</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:37:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27854</guid>
		<description>
#include 
#include 

int first_term=1;


void main()
{
int a[100][100];int c=1,i=0,j=0,k=0,m=0,n=0,x=0;clrscr();
printf(&quot;Enter the number of rows and columns for the square matrix n&quot;);scanf(&quot;%d&quot;,&amp;n);x=n;</description>
		<content:encoded><![CDATA[<p>#include<br />
#include </p>
<p>int first_term=1;</p>
<p>void main()<br />
{<br />
int a[100][100];int c=1,i=0,j=0,k=0,m=0,n=0,x=0;clrscr();<br />
printf(&#8220;Enter the number of rows and columns for the square matrix n&#8221;);scanf(&#8220;%d&#8221;,&amp;n);x=n;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27853</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27853</guid>
		<description>sorry this is not suitable.,,,,I will provide in to parts</description>
		<content:encoded><![CDATA[<p>sorry this is not suitable.,,,,I will provide in to parts</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jayesh5101992sapkale</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27852</link>
		<dc:creator>Jayesh5101992sapkale</dc:creator>
		<pubDate>Tue, 17 Jan 2012 14:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27852</guid>
		<description>Hi Hari ,,,,,Check this code in c language..........if any Error Plz Fix it....

Code:

#include #include int first_term=1;void main(){int a[100][100];int c=1,i=0,j=0,k=0,m=0,n=0,x=0;clrscr();printf(&quot;Enter the number of rows and columns for the square matrix n&quot;);scanf(&quot;%d&quot;,&amp;n);x=n;while(n&gt;=1){for(k=0;k&lt;n;k++)if(first_term){a[m][k+m]=c++;}else{a[m][k+m]=0;}for(k=1;k=0;k--)if(first_term){a[n-1+m][k+m]=c++;}else{a[n-1+m][k+m]=0;}for(k=n-2;k&gt;0;k--)if(first_term){a[k+m][m]=c++;}else{a[k+m][m]=0;}if(x==n){first_term=0;}n-=2;m++;}for(i=0;i&lt;x;i++){for(j=0;j&lt;x;j++){  if(a[i][j]==0){printf(&quot;     &quot;);}  else{printf(&quot;    *&quot;) ;}}printf(&quot;n&quot;);}getch();}</description>
		<content:encoded><![CDATA[<p>Hi Hari ,,,,,Check this code in c language&#8230;&#8230;&#8230;.if any Error Plz Fix it&#8230;.</p>
<p>Code:</p>
<p>#include #include int first_term=1;void main(){int a[100][100];int c=1,i=0,j=0,k=0,m=0,n=0,x=0;clrscr();printf(&#8220;Enter the number of rows and columns for the square matrix n&#8221;);scanf(&#8220;%d&#8221;,&amp;n);x=n;while(n&gt;=1){for(k=0;k&lt;n;k++)if(first_term){a[m][k+m]=c++;}else{a[m][k+m]=0;}for(k=1;k=0;k&#8211;)if(first_term){a[n-1+m][k+m]=c++;}else{a[n-1+m][k+m]=0;}for(k=n-2;k&gt;0;k&#8211;)if(first_term){a[k+m][m]=c++;}else{a[k+m][m]=0;}if(x==n){first_term=0;}n-=2;m++;}for(i=0;i&lt;x;i++){for(j=0;j&lt;x;j++){  if(a[i][j]==0){printf(&quot;     &quot;);}  else{printf(&quot;    *&quot;) ;}}printf(&quot;n&quot;);}getch();}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Angad tomar</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27849</link>
		<dc:creator>Angad tomar</dc:creator>
		<pubDate>Tue, 17 Jan 2012 07:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27849</guid>
		<description>for(i=n;i&gt;0;i--)
{
  printf(&quot;  &quot;);
  for(j=1;j&lt;=i;j++)
  {
    printf(&quot;*&quot;);

  }
  printf(&quot;n&quot;);

}</description>
		<content:encoded><![CDATA[<p>for(i=n;i&gt;0;i&#8211;)<br />
{<br />
  printf(&#8221;  &#8221;);<br />
  for(j=1;j&lt;=i;j++)<br />
  {<br />
    printf(&quot;*&quot;);</p>
<p>  }<br />
  printf(&quot;n&quot;);</p>
<p>}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bindu kamboj</title>
		<link>http://www.interviewmantra.net/2009/10/10-star-pattern-programs.html/comment-page-2#comment-27848</link>
		<dc:creator>Bindu kamboj</dc:creator>
		<pubDate>Mon, 16 Jan 2012 12:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://localhost/wordpress/2009/10/10-challenging-star-pattern-programs-in-c/#comment-27848</guid>
		<description>#include
void main()
{
int i,j,a=6;
for(i=1;i&lt;=3;i++)
 {
  for(j=1;j&lt;i+1;j++)   { 
   printf(&quot;%d&quot;,a );
   a--;
   }
printf(&quot;n&quot;);
 }
getch();
}</description>
		<content:encoded><![CDATA[<p>#include<br />
void main()<br />
{<br />
int i,j,a=6;<br />
for(i=1;i&lt;=3;i++)<br />
 {<br />
  for(j=1;j&lt;i+1;j++)   {<br />
   printf(&#8220;%d&#8221;,a );<br />
   a&#8211;;<br />
   }<br />
printf(&#8220;n&#8221;);<br />
 }<br />
getch();<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: www.interviewmantra.net @ 2012-02-10 22:14:27 -->
