#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int main()
{
srand((unsigned)time(NULL));//%/2€’gbk-0ʱ¼äÉ趨ÖÖ×Ó
int i;
double r;
for(i=0;i<50;i++)
{
r=(float)rand()/RAND_MAX; //0~1%/2€?gbk-0Ö®¼äËæ»úÊý
printf("%fn",r);
}
return 0;
}