C语言中如何实现在1到6中随机产生一个数字并存入数组中,一共存12次,如...答:include <stdio.h> include <stdlib.h> include define N 12 int main(int argc, char *argv[]){ int i;int x[N] = {1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6};printf("之前数组: ");for (i = 0; i < N; i++)printf("%3d", x[i]);printf("\n");srand((u...