int maxdelay(int max, int delay, string flightNumber)
{
if (max < delay)
{
max = delay;
flightNumber = string maxflightNumber;
}
else
max = max;
return max;
}
int mindelay(int min, int delay, string flightNumber)
{
if (min > delay)
{
min = delay;
flightNumber = string minflightNumber;
}
else
min = min;
return min;
}
保持在“ minflightNumber”和“ maxflightNumber”之前的预期主表达式...不确定该怎么做。