# include <stdio.h>
int RaiseToPower(int n, int k)
{
if(k == 0)
return 1;
else
return pow(n,k);
}
int main()
{int n,k;
printf("请输入两个数\n");
scanf("%d,%d\n",&n,&k);
printf("%d\n",RaiseToPower(n,k));
return 0;
txm4056228
相关分类