编程时出现大括号问题
# include <stdio.h>int main()
{
int a;
float c;
a=1;
c=0;
while(a<=99)
{
c=c+1/[a*(a+1)];
a++;
}
printf("c=%f\n",c);
return 0;
}
这个大括号那报了一个错,我应该怎么写呢?
2011-10-13 09:22
2011-10-13 09:26
2011-10-13 10:09
HEHE
2011-10-13 11:25
2011-10-13 11:35
2011-10-13 13:22
2011-10-14 08:00
2011-10-14 11:33
2011-10-14 13:25
2011-10-14 13:38