为什么没显示算出来的答案啊?
#include<stdio.h>#include<stdlib.h>
#include<math.h>
int main() {
int i, base, power;
printf("please input the base:\n");
scanf_s("%d", &base);
printf("please input the power:\n");
scanf_s("%d", &power);
for (i = 0; i < power; i++)
printf("%d^%d is %d\n", base, power + i, pow(base, power + i));
system("pause");
}