麻烦帮我看下 这程序那里错了 在VC环境下运行
#include <stdio.h> #include <math.h> int main(void) { float r = 0.09f; int n =10; float p = 0.0f; p = pow((1 + r),n); printf("Now p = %f\n",p); return 0; }
追问:晕 我的编译器弄不出来...现在好了 谢谢
#include <stdio.h> #include <math.h> int main(void) { float r = 0.09f; int n =10; float p = 0.0f; p = pow((1 + r),n); printf("Now p = %f\n",p); return 0; }
追问:晕 我的编译器弄不出来...现在好了 谢谢
答案:程序没有问题
上一个:vc中,在对话框中给按钮添加响应函数的时候,无法添加!
下一个:VC++程序的数据如何与数据库数据进行操作?(不是访问数据库)