help
#include <stdio.h>int ran(void)
{
static int see=1234,n;
printf("v(see=%4d)",see);
see=(see+25543)%7415;
n=(see%1000)/10;
return (n);
}
int rand(void)
{
int see=1234,n;
printf("v(see=%5d)",see);
see=(see+25543)%7415;
n=(see%1000)/10;
return (n);
}
void main(void)
{
int i,j;
for(i=0;i<3;i++)
{
for(j=0;j<2;j++)
printf("%3d",ran());
printf("\n");
}
for(i=0;i<3;i++)
{
for(j=0;j<2;j++)
printf("%3d",rand());
printf("\n");
}
}
能不能讲讲这个程序是怎么运行的啊?
谢谢各位了.......