测评会员优惠活动进行中 · 开通 VIP,有效期内测评不限次 VIP 优惠中 · 测评不限次 立即查看

A33031. 以下程序执行后,值为1的变量有?( )int n = 19316, t;int maxn = -1, minn = 999;while( n >= 10) { t = n % 10; n /= 10; if(t > maxn) { maxn = t; } if(t < minn) { minn = t; }}

多选题 较难

题目描述

以下程序执行后,值为1的变量有?(     )


int n = 19316, t;

int maxn = -1, minn = 999;

while( n >= 10) {

    t = n % 10;

    n /= 10;

    if(t > maxn) {

        maxn = t;

    }

    if(t < minn) {

        minn = t;

    }

}

选项(多选)

上一题 下一题