<?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++ program to calculate a to the power b without using power function	</title>
	<atom:link href="https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/feed/" rel="self" type="application/rss+xml" />
	<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/</link>
	<description>Microcontroller projects, Circuit Diagrams, Project Ideas</description>
	<lastBuildDate>Wed, 07 Oct 2015 03:10:23 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.1.7</generator>
	<item>
		<title>
		By: Pop		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-135437</link>

		<dc:creator><![CDATA[Pop]]></dc:creator>
		<pubDate>Wed, 07 Oct 2015 03:10:23 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-135437</guid>

					<description><![CDATA[why did it not run?]]></description>
			<content:encoded><![CDATA[<p>why did it not run?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Mayank Pathania		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-130656</link>

		<dc:creator><![CDATA[Mayank Pathania]]></dc:creator>
		<pubDate>Mon, 14 Sep 2015 18:23:45 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-130656</guid>

					<description><![CDATA[int main ()
{ int b, a;
for ( int n=1; n&#060;=a; n++)
{b=a*n;
}
count&#060;&#060;b;}]]></description>
			<content:encoded><![CDATA[<p>int main ()<br />
{ int b, a;<br />
for ( int n=1; n&lt;=a; n++)<br />
{b=a*n;<br />
}<br />
count&lt;&lt;b;}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anita		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-122471</link>

		<dc:creator><![CDATA[anita]]></dc:creator>
		<pubDate>Tue, 04 Aug 2015 07:01:05 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-122471</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-85204&quot;&gt;navin kumar&lt;/a&gt;.

#include 
#include 
using namespace std;

int main() {
    int exp;
    float base;

    cout &#060;&#062; base &#062;&#062; exp;

    cout &#060;&#060; &#034;Result = &#034; &#060;&#060; pow(base, exp);
    return 0;
}]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-85204">navin kumar</a>.</p>
<p>#include<br />
#include<br />
using namespace std;</p>
<p>int main() {<br />
    int exp;<br />
    float base;</p>
<p>    cout &lt;&gt; base &gt;&gt; exp;</p>
<p>    cout &lt;&lt; &quot;Result = &quot; &lt;&lt; pow(base, exp);<br />
    return 0;<br />
}</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anita		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-122469</link>

		<dc:creator><![CDATA[anita]]></dc:creator>
		<pubDate>Tue, 04 Aug 2015 06:56:09 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-122469</guid>

					<description><![CDATA[Write a program to find power of a  number ( exponent value should be  negative or 0.)]]></description>
			<content:encoded><![CDATA[<p>Write a program to find power of a  number ( exponent value should be  negative or 0.)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: navin kumar		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-85204</link>

		<dc:creator><![CDATA[navin kumar]]></dc:creator>
		<pubDate>Sun, 01 Mar 2015 07:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-85204</guid>

					<description><![CDATA[how to find power of number without using pow function and multiplication operator ?]]></description>
			<content:encoded><![CDATA[<p>how to find power of number without using pow function and multiplication operator ?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: AB		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-56375</link>

		<dc:creator><![CDATA[AB]]></dc:creator>
		<pubDate>Fri, 05 Dec 2014 15:15:41 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-56375</guid>

					<description><![CDATA[Thanx Guys.
U r doing great.]]></description>
			<content:encoded><![CDATA[<p>Thanx Guys.<br />
U r doing great.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bilal iplanetz.com 03335106003		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-30333</link>

		<dc:creator><![CDATA[bilal iplanetz.com 03335106003]]></dc:creator>
		<pubDate>Mon, 29 Sep 2014 17:55:11 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-30333</guid>

					<description><![CDATA[this  is easiest one take copy pencil insert value in loop and see how ezily it will]]></description>
			<content:encoded><![CDATA[<p>this  is easiest one take copy pencil insert value in loop and see how ezily it will</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: bilal		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-30331</link>

		<dc:creator><![CDATA[bilal]]></dc:creator>
		<pubDate>Mon, 29 Sep 2014 17:53:07 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-30331</guid>

					<description><![CDATA[#include
#include

int main ()
{
    int a,b,i,temp=1;
    
    printf (&quot;enter value :&quot;);
    scanf (&quot;%d&quot;,&#038;a);
    printf ( &quot;enter power value :&quot;);
    scanf (&quot;%d&quot;,&#038;b);
	 for (i=1;i&#060;=b;i++)
	 {
       temp= a*temp; 
  }
          printf(&#034;vlaue is :%d&#034;, temp);        
	
   getch();
   return 0;
   }]]></description>
			<content:encoded><![CDATA[<p>#include<br />
#include</p>
<p>int main ()<br />
{<br />
    int a,b,i,temp=1;</p>
<p>    printf (&#8220;enter value :&#8221;);<br />
    scanf (&#8220;%d&#8221;,&amp;a);<br />
    printf ( &#8220;enter power value :&#8221;);<br />
    scanf (&#8220;%d&#8221;,&amp;b);<br />
	 for (i=1;i&lt;=b;i++)<br />
	 {<br />
       temp= a*temp;<br />
  }<br />
          printf(&quot;vlaue is :%d&quot;, temp);        </p>
<p>   getch();<br />
   return 0;<br />
   }</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Priyam Gaurav		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-9575</link>

		<dc:creator><![CDATA[Priyam Gaurav]]></dc:creator>
		<pubDate>Tue, 05 Mar 2013 16:51:48 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-9575</guid>

					<description><![CDATA[This problem can be solved by applying different methods.
1st Method:


#include
#include
void main()
{
int a,b,c,i;
clrscr;
printf(&quot;Enter the base: &quot;);
scanf(&quot;%d&quot;,&#038;a);
printf(&quot;Enter the power: &quot;);
scanf(&quot;%d&quot;,&#038;b);
c=a;
for(i=1;i&#060;b;i++)
{
c=c*a;
}
printf(&#034;Result = %d&#034;,c);
getch();
}


2nd Method:


#include
#include
void power(int a, int b);
void main()
{
int a,b;
clrscr();
printf(&quot;Enter the base: &quot;);
scanf(&quot;%d&quot;,&#038;a);
printf(&quot;Enter the power: &quot;);
scanf(&quot;%d&quot;,&#038;b);
power(a,b);
getch();
}
void power(int a, int b)
{
int c;
c=a;
for(i=1;i&#060;b;i++)
{
c=c*a;
}
printf(&#034;Result = %d&#034;,c);
}

There are so many different methods to solve this problem.]]></description>
			<content:encoded><![CDATA[<p>This problem can be solved by applying different methods.<br />
1st Method:</p>
<p>#include<br />
#include<br />
void main()<br />
{<br />
int a,b,c,i;<br />
clrscr;<br />
printf(&#8220;Enter the base: &#8220;);<br />
scanf(&#8220;%d&#8221;,&amp;a);<br />
printf(&#8220;Enter the power: &#8220;);<br />
scanf(&#8220;%d&#8221;,&amp;b);<br />
c=a;<br />
for(i=1;i&lt;b;i++)<br />
{<br />
c=c*a;<br />
}<br />
printf(&quot;Result = %d&quot;,c);<br />
getch();<br />
}</p>
<p>2nd Method:</p>
<p>#include<br />
#include<br />
void power(int a, int b);<br />
void main()<br />
{<br />
int a,b;<br />
clrscr();<br />
printf(&#8220;Enter the base: &#8220;);<br />
scanf(&#8220;%d&#8221;,&amp;a);<br />
printf(&#8220;Enter the power: &#8220;);<br />
scanf(&#8220;%d&#8221;,&amp;b);<br />
power(a,b);<br />
getch();<br />
}<br />
void power(int a, int b)<br />
{<br />
int c;<br />
c=a;<br />
for(i=1;i&lt;b;i++)<br />
{<br />
c=c*a;<br />
}<br />
printf(&quot;Result = %d&quot;,c);<br />
}</p>
<p>There are so many different methods to solve this problem.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: aarthy ravichandran		</title>
		<link>https://studentprojects.in/software-development/cpp/cpp-programs/cpp-basic/c-program-to-calculate-a-to-the-power-b-without-using-power-function/comment-page-1/#comment-9513</link>

		<dc:creator><![CDATA[aarthy ravichandran]]></dc:creator>
		<pubDate>Sat, 16 Feb 2013 12:56:22 +0000</pubDate>
		<guid isPermaLink="false">http://studentprojects.in/?p=1132#comment-9513</guid>

					<description><![CDATA[thanks]]></description>
			<content:encoded><![CDATA[<p>thanks</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
