• 2021-04-14
    8.下面程序中应该补充(填写在横线位置)的代码是
    #include
    int max(int x, int y);        //函数功能:求两数中的较大数
    int main(void)
    {
    int a, b, c;
    scanf("%d, %d", &a, &b);
    c = __________________;
    printf("max is %d", c);
    return 0;
    }
    int max(int x, int y)
    {
    int z;

    if (x > y)  z = x;  else  z = y;
    return z;
    }