实验1-实验任务6


#include <stdio.h>
#include <math.h>
int main()
{
double x, ans;
while (scanf_s("%lf", &x) != EOF)
{
ans = pow(x, 365);
printf("%.2f的365次方: %.2f\n", x, ans);
printf("\n");
}
return 0;
}

 

 

posted @ 2023-10-29 21:08  铭懿  阅读(34)  评论(0)    收藏  举报