#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,printf,include From: https://www.cnblogs.com/lht22MoonHalo/p/16783412.html