###### POJ 2070 Filling Out the Team（水~）

Description

Input

Output

Sample Input
4.4 180 200
5.5 350 700
4.4 205 350
5.2 210 500
0 0 0
Sample Output
Lineman
No positions
Solution

Code

#include<stdio.h>

int main()
{
int mw,ms,flag;
double ss;
while(scanf("%lf%d%d",&ss,&mw,&ms)&&ss&&mw&&ms)
{
flag=0;
if(ss<=4.5&&mw>=150&&ms>=200)
if(ss<=6.0&&mw>=300&&ms>=500)
{
if(flag)
printf(" Lineman");
else
printf("Lineman");
flag++;
}
if(ss<=5.0&&mw>=200&&ms>=300)
{
if(flag)
printf(" Quarterback");
else
printf("Quarterback");
flag++;
}
if(flag)
printf("\n");
else
printf("No positions\n");
}
} 

#### poj 2070 Filling Out the Team

2014-08-03 10:53:56

#### Filling Out the Team POJ - 2070

2018-05-13 13:15:59

#### POJ 2070 Filling Out the Team G++

2017-04-07 15:04:35

#### POJ 2070 Filling Out the Team(水题)

2014-09-03 10:58:17

#### 2321_Filling Out the Team(比大小题，每次输出最后不得有空格)

2013-04-21 22:11:24

#### POJ 2070 Filling Out the Team（我的水题之路——double比较）

2012-02-08 21:48:31

#### POJ2070 Filling Out the Team

2015-12-28 16:51:07

#### zoj2321 Filling Out the Team

2015-07-25 20:31:22

#### poj2070 Filling Out the Team

2013-07-12 13:44:25

#### ZOJ 2321 Filling Out the Team

2011-12-24 19:46:56

## 不良信息举报

POJ 2070 Filling Out the Team（水~）