输入110,100会显示“OK”
#include<stdio.h>
int main()
{
double t,x,y;
scanf("%d%d",&x,&y);
if(x<(1.1*y))
printf("OK");
else
if(x<(1.5*y))
printf("Exceed %.f%%. Ticket 200",t=(x-y)/y*100.0);
else
printf("Exceed %.f%%. License Revoked",t=(x-y)/y*100.0);
}