这个程序写的不好...pow(-1,n)指的是-1的n次方。。
对于-1的此方,我们不需要这么麻烦的调用pow()函数.
#include
<stdio.h>
//
#include
<math.h>
//
pow()函数应该包含math.h头文件
main()
{
int
i,x=0;
//
← 上一条:100×4&#47;101简便方法 下一条:IT 对 娱乐的影响? →