<?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>C++ Archives - The Code Developer</title>
	<atom:link href="https://www.thecodedeveloper.com/category/cpp/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.thecodedeveloper.com/category/cpp/</link>
	<description>The Code Developer is a Programming Blog.</description>
	<lastBuildDate>Fri, 25 Jan 2019 19:05:26 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
	<item>
		<title>C++ program to print Floyd&#8217;s triangle</title>
		<link>https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/</link>
					<comments>https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/#respond</comments>
		
		<dc:creator><![CDATA[Aastha Tyagi]]></dc:creator>
		<pubDate>Fri, 25 Jan 2019 12:55:16 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Pattern]]></category>
		<category><![CDATA[triangle]]></category>
		<guid isPermaLink="false">https://www.thecodedeveloper.com/?p=3942</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="998" height="524" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ program to print Floyd&#039;s triangle" decoding="async" fetchpriority="high" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png 998w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-768x403.png 768w" sizes="(max-width: 998px) 100vw, 998px" /></div>
<p>In this article write a <strong>C++ Program to print Floyd's triangle. </strong> This Program first takes the numbers of rows and uses nested for loops to <strong>print Floyd's triangle</strong>.</p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/">C++ program to print Floyd&#8217;s triangle</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="998" height="524" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ program to print Floyd&#039;s triangle" decoding="async" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png 998w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-768x403.png 768w" sizes="(max-width: 998px) 100vw, 998px" /></div><p>In this article write a <strong>C++ Program to print Floyd&#8217;s triangle. </strong> This Program first takes the numbers of rows and uses nested for loops to <strong>print Floyd&#8217;s triangle</strong>.</p>
<h2>C++ Program to print Floyd&#8217;s triangle</h2>
<pre class="brush: cpp; title: ; notranslate">
//C++ program to print Floyd's triangle

#include &lt;iostream&gt;
using namespace std;

int main()
{
    int rows, num = 1;

    cout &lt;&lt; &quot;Enter number of rows: &quot;;
    cin &gt;&gt; rows;

    // outer loop is responsible for row
	for(int i = 1; i &lt;= rows; i++)
    {
        
		//inner loop is responsible for columns
		for(int j = 1; j &lt;= i; j++)
        {
            
			// printing number 
		    cout &lt;&lt; num &lt;&lt; &quot; &quot;;
            num++;
        }
        
		// give line breaks after ending every row
        cout &lt;&lt; endl;
    }

    return 0;
}
</pre>
<h3>When the above C++ program is compile and run, this will produce the following result:</h3>
<p><a href="https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/cpp-program-to-print-floyds-triangle-2/" rel="attachment wp-att-3970"><img decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png" alt="C++ program to print Floyd&#039;s triangle" width="998" height="524" class="aligncenter size-full wp-image-3970" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle.png 998w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-floyds-triangle-768x403.png 768w" sizes="(max-width: 998px) 100vw, 998px" /></a></p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/">C++ program to print Floyd&#8217;s triangle</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thecodedeveloper.com/cpp-program-to-print-floyds-triangle/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C++ Program to print Inverted half pyramid pattern using * (asterisk)</title>
		<link>https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/</link>
					<comments>https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/#respond</comments>
		
		<dc:creator><![CDATA[Vikas Kumar]]></dc:creator>
		<pubDate>Tue, 22 Jan 2019 17:55:51 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Pattern]]></category>
		<guid isPermaLink="false">https://www.thecodedeveloper.com/?p=3913</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="999" height="525" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print Inverted half pyramid pattern using asterisk" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk.png 999w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-768x404.png 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></div>
<p>In this article we will write a C++ Program to print Inverted half pyramid pattern using asterisk. This Program first takes the numbers of rows and uses nested for loops to print Inverted half pyramid pattern. C++ Program to print Inverted half pyramid pattern using asterisk //C++ Program to print Inverted half pyramid using * [&#8230;]</p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/">C++ Program to print Inverted half pyramid pattern using * (asterisk)</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="999" height="525" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print Inverted half pyramid pattern using asterisk" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk.png 999w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-768x404.png 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></div><p>In this article we will write a <strong>C++ Program to print Inverted half pyramid pattern using asterisk</strong>. This Program first takes the numbers of rows and uses nested for loops to <strong>print Inverted half pyramid pattern</strong>.</p>
<h2>C++ Program to print Inverted half pyramid pattern using asterisk</h2>
<pre class="brush: cpp; title: ; notranslate">
//C++ Program to print Inverted half pyramid using * (asterisk) pattern

#include &lt;iostream&gt;
using namespace std;

int main()
{
   int i, j, row;

   cout &lt;&lt; &quot;Enter number of rows: &quot;;
   cin &gt;&gt; row;
   
   // outer loop is responsible for rows
   for(i = row; i &gt;= 1; i--)
   {
      
      //inner loop is responsible for columns
      for(j = 1; j &lt;= i; j++)
      {
         cout &lt;&lt; &quot;* &quot;;
      }
      
	  // give line breaks after ending every row
	  cout &lt;&lt; &quot;\n&quot;;
   }

   return 0;
}
</pre>
<h3>When the above C++ program is compile and run, this will produce the following result:</h3>
<p><a href="https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-3/" rel="attachment wp-att-3938"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-1.png" alt="C++ Program to print Inverted half pyramid pattern using asterisk" width="999" height="525" class="aligncenter size-full wp-image-3938" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-1.png 999w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-1-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk-1-768x404.png 768w" sizes="auto, (max-width: 999px) 100vw, 999px" /></a></p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/">C++ Program to print Inverted half pyramid pattern using * (asterisk)</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thecodedeveloper.com/cpp-program-to-print-inverted-half-pyramid-pattern-using-asterisk/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C++ Program to print half pyramid pattern using alphabets</title>
		<link>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/</link>
					<comments>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/#comments</comments>
		
		<dc:creator><![CDATA[Aastha Tyagi]]></dc:creator>
		<pubDate>Fri, 18 Jan 2019 18:18:22 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Pattern]]></category>
		<guid isPermaLink="false">https://www.thecodedeveloper.com/?p=3885</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="996" height="521" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print half pyramid pattern using alphabets" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png 996w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-442x231.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-768x402.png 768w" sizes="auto, (max-width: 996px) 100vw, 996px" /></div>
<p>In this article write a C++ Program to print half pyramid pattern using alphabets. This Program first takes the numbers of rows and uses nested for loops to print half pyramid pattern. C++ Program to print half pyramid pattern using alphabets // C++ Program to print half pyramid pattern using alphabets #include &#60;iostream&#62; using namespace [&#8230;]</p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/">C++ Program to print half pyramid pattern using alphabets</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="996" height="521" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print half pyramid pattern using alphabets" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png 996w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-442x231.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-768x402.png 768w" sizes="auto, (max-width: 996px) 100vw, 996px" /></div><p>In this article write a <strong>C++ Program to print half pyramid pattern using alphabets</strong>. This Program first takes the numbers of rows and uses nested for loops to <strong>print half pyramid pattern</strong>.</p>
<h2>C++ Program to print half pyramid pattern using alphabets</h2>
<pre class="brush: cpp; title: ; notranslate">
// C++ Program to print half pyramid pattern using alphabets
#include &lt;iostream&gt;
using namespace std;

int main()
{
    char input, alphabet = 'A';
    int i, j;

    cout &lt;&lt; &quot;Enter the uppercase character you want to print in the last row:&quot;;
    cin &gt;&gt; input;
     
	 // outer loop is responsible for rows
    for(int i = 1; i &lt;= (input-'A'+1); i++)
    {
        
		//inner loop is responsible for columns
		for(int j = 1; j &lt;= i; j++)
        {
            cout &lt;&lt; alphabet &lt;&lt; &quot; &quot;;
        }
        alphabet++;
        
		// give line breaks after ending every row
        cout &lt;&lt; &quot;\n&quot;;
    }
    return 0;
}
</pre>
<h3>When the above C++ program is compile and run, this will produce the following result:</h3>
<p><a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/c-program-to-print-half-pyramid-pattern-using-alphabets/" rel="attachment wp-att-3929"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png" alt="C++ Program to print half pyramid pattern using alphabets" width="996" height="521" class="aligncenter size-full wp-image-3929" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets.png 996w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-442x231.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-alphabets-768x402.png 768w" sizes="auto, (max-width: 996px) 100vw, 996px" /></a></p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/">C++ Program to print half pyramid pattern using alphabets</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-alphabets/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>C++ Program to print half pyramid pattern using numbers</title>
		<link>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/</link>
					<comments>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/#respond</comments>
		
		<dc:creator><![CDATA[Aastha Tyagi]]></dc:creator>
		<pubDate>Wed, 16 Jan 2019 18:38:31 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Pattern]]></category>
		<guid isPermaLink="false">https://www.thecodedeveloper.com/?p=3878</guid>

					<description><![CDATA[<div style="margin-bottom:20px;"><img width="995" height="522" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print half pyramid pattern using numbers" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png 995w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-768x403.png 768w" sizes="auto, (max-width: 995px) 100vw, 995px" /></div>
<p>In this article write a C++ Program to print half pyramid pattern using numbers. This Program first takes the numbers of rows and uses nested for loops to print half pyramid pattern. C++ Program to print half pyramid pattern using numbers //C++ Program to print half pyramid pattern using numbers #include &#60;iostream&#62; using namespace std; [&#8230;]</p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/">C++ Program to print half pyramid pattern using numbers</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></description>
										<content:encoded><![CDATA[<div style="margin-bottom:20px;"><img width="995" height="522" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png" class="attachment-post-thumbnail size-post-thumbnail wp-post-image" alt="C++ Program to print half pyramid pattern using numbers" decoding="async" loading="lazy" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png 995w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-768x403.png 768w" sizes="auto, (max-width: 995px) 100vw, 995px" /></div><p>In this article write a <strong>C++ Program to print half pyramid pattern using numbers.</strong> This Program first takes the numbers of rows and uses nested for loops to <strong>print half pyramid pattern</strong>.</p>
<h2>C++ Program to print half pyramid pattern using numbers</h2>
<pre class="brush: cpp; title: ; notranslate">
//C++ Program to print half pyramid pattern using numbers

#include &lt;iostream&gt;
using namespace std;

int main()
{
    int rows, i, j;

    cout &lt;&lt; &quot;Enter number of rows: &quot;;
    cin &gt;&gt; rows;

    // outer loop is responsible for row
	for(i = 1; i &lt;= rows; i++)
    {
        //inner loop is responsible for columns
	    for(j = 1; j &lt;= i; j++)
        {
            cout &lt;&lt; j &lt;&lt; &quot; &quot;;
        }
        // give line breaks after ending every row
		cout &lt;&lt; &quot;\n&quot;;
    }
    return 0;
}
</pre>
<h3>When the above C++ program is compile and run, it will produce the following result:</h3>
<p><a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/c-program-to-print-half-pyramid-pattern-using-numbers/" rel="attachment wp-att-3931"><img loading="lazy" decoding="async" src="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png" alt="C++ Program to print half pyramid pattern using numbers" width="995" height="522" class="aligncenter size-full wp-image-3931" srcset="https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers.png 995w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-442x232.png 442w, https://www.thecodedeveloper.com/wp-content/uploads/2019/01/C-Program-to-print-half-pyramid-pattern-using-numbers-768x403.png 768w" sizes="auto, (max-width: 995px) 100vw, 995px" /></a></p>
<p>The post <a href="https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/">C++ Program to print half pyramid pattern using numbers</a> appeared first on <a href="https://www.thecodedeveloper.com">The Code Developer</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.thecodedeveloper.com/cpp-program-to-print-half-pyramid-pattern-using-numbers/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
