>728 だまされるな!
int max,min;
char maxName[256],minName[256];
とかするだけだ

while(scanf("%s %f",name,&x)!=EOF)
if(max<=x)
{
max=x;
strcpy(maxName, name);
}