Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

帮忙看看,有什么错啊啊啊啊啊

Posted by hjf at 2009-11-24 20:46:53 on Problem 2070
#include<stdio.h>
int main(void)
{
float a,b,c,j,i=0;
for(j=0;;j++)
{
scanf("%f %f %f",&a,&b,&c);
if(a==0.0&&b==0.0&&c==0.0)
break;
if(a<=4.5&&b>=150.0&&c>=200.0)
{
printf("Wide Receiver ");
i++;
}
if(a<=6.0&&b>=300.0&&c>=500.0)
{
 printf("Lineman ");
i++;
}
if(a<=5.0&&b>=200.0&&c>=300.0)
{
printf("Quarterback ");
}
i++;
if(i==0)
{
printf("No positions ");
}
printf("\n");
}
return(0);
}


Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator