谁解释一下!!!
运行这个后 为什么每次rand()所选的随机数是一样的都是41!!!????
#include <stdio.h>
#include <stdlib.h>
void main()
{
int m,n;
m= rand();
printf("Please guess a number:");
scanf("%d",&n);
if (n> m)
{
printf("Too high");
}
else if (n <m)
{
printf("Too low");
}
else
{
printf("Right \n");
printf("The number m is :%d\n",m);
}
}