萌新求助
c4droid吧
全部回复
仅看楼主
level 4
凡李逸 楼主
哪里错了
2017年05月11日 11点05分 1
level 4
凡李逸 楼主
看到了
2017年05月11日 11点05分 3
level 8
#include<stdio.h>
int main()
{
int a,a1[10]={1,2,3,4,5,6,7,8,9,10};
for (a=0;a<=9;a++)
printf("%d\n",a1[a]);
float PI=3.14
15926535897
93238462643383;
int s,r=5;
s=r*r*PI;
printf("\ns=%d",s);
}
2017年05月11日 11点05分 4
level 8
还是标点符号的问题,注意一定要输入英语符号。
2017年05月11日 12点05分 5
level 5
晕,=有点尴尬
2017年05月15日 16点05分 6
+1 printf后面的等号去掉。[黑线]
2017年05月18日 13点05分
level 4
不是%f吗。。。
2017年05月17日 15点05分 7
+1
2017年05月18日 00点05分
level 3
将最后一行%d改成%f
2017年05月18日 10点05分 8
而且int s改成float s
2017年05月18日 10点05分
1