保持预期的主表达式在“ minflightNumber”和“ maxflightNumber”之前...不确定该怎么做

时间:2018-10-15 22:21:41

标签: c++

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”之前的预期主表达式...不确定该怎么做。

0 个答案:

没有答案