到底是不是太胖了
作者:互联网
#include <stdio.h>
#include <stdlib.h>
#include<math.h>
int main()
{
int N,h,w;
double ss;
float s;
scanf("%d",&N);
while(~scanf("%d %d",&h,&w))
{
s=(h-100)*0.9*2;
ss=fabs(w-s);
if(ss<(s*0.1))
{
printf("You are wan mei!\n");
}
if(ss>=(s*0.1)&&w<s)
{
printf("You are tai shou le!\n");
}
if(ss>=(s*0.1)&&w>s)
{
printf("You are tai pang le!\n");
}
}
return 0;
}
标签:到底,ss,太胖,是不是,0.1,int,&&,include,scanf 来源: https://blog.csdn.net/qq_51677405/article/details/115021259