单选题

阅读程序写结果。

#include<iostream>

#include<ctime>

#include<cstdlib>

using namespace std;

int main() {

    int x;

    srand(time(0));

    if(x<10) {

        x=10;

    }

    if(x==10) {

        x--;

    }

    if(x!=10) {

        x--;

    }

    cout <<x;

    return 0;

}

输出:______

A

20

B

10

C

9

D

8

赣ICP备20007335号-2