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 |
帮忙看一下有什么错误好吗?#include <stdio.h> #include <math.h> int main() { int n,i,year; float x,y; scanf("%d %f %f", &n,&x,&y); for (i=1;i<=n;i++){ year=(int)((x*x+y*y)*3.14/2/50); printf("Property %d :This property This will begin eroding in year %d.\n",i,year); } printf("Out of put.\n") } Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator