其他分享
首页 > 其他分享> > task2-2.c

task2-2.c

作者:互联网

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

 

标签:task2,%.,ans,2f,365,printf,include
来源: https://www.cnblogs.com/hezroy/p/16062633.html