#include
int power(void);
int j, e;
int main(void)
{
j = 2;
e = 3;
printf("%d raised to the %d power = %d", j, e, power());
return 0;
}
int power(void)
{
int temp, temp2;
temp = 1;
temp2 = e;
for( ; temp2> 0; temp2--)
temp = temp * j;
return temp;
}