c语言程序怎样产生随机数,用C语言编程序:产生1到5间的10个随机数
/* RAND.C: This program seeds the random-number generator* with the time, then displays 10 random integers.*/#include #include #include void main( void ){int i;int temp;/* Seed the random-number gener...