谁能帮我编写一个c语言程序,随机从1-11个数中抽出两个数。。。

如题所述

#include <time.h>
srand(time(NULL));
int i = rand()%11 + 1;
int j = rand()%11 + 1;

//i, j 是随机的1-11的两个数
温馨提示:答案为网友推荐,仅供参考
第1个回答  2014-09-01
对方惹隔热个人过
相似回答