```
#include <stdio.h>
float pows(float,float);
int main()
{
float num,base;
printf("enter base followed by power integer.");
scanf("%f %f",&base,&num);
printf("%f ",pows(base,num));
return 0;
}
float pows(float base,float n)
{
if(n==0)
return(1);
else if(base==0)
return(0);
else
for(;n>=1;n--)
{ return(base*pows(base,n-1));/*recursive*/
}
}
```