#include<stdio.h>
#include<math.h>
int main()
{
int i, n;
double power;
scanf("%d", &n);
for(i=0; i<=n; i++){
power=pow(3,i);
printf("pow(3,%d) = %.0f\n",i,power);
}
return 0;
}
标签:17,int,练习,生成,乘方,include From: https://www.cnblogs.com/ytmsnzy/p/16587854.html