| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
为什么不可以[code]我刚学编写程序,但是这种现象不是很明白
#include <stdio.h>
#include <math.h>
int main()
{int average;
printf("请输入12个数:\n");
scanf("%5.2f");
while(EOF!=scanf("%5.2f"))
printf("%5.1\n",average);
return 0;
}
运行之后是错误的
[/code]
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator