#include #include int main(){ int x,y; printf(“求x的y次幂:\n”); scanf(“%d %d”,&x,&y); printf(“结果是:%.2f”,pow(x,y)); //要以%f输出 %d输出结果都是0 return 0;}