# include & ltstdlib.h & gt
# include & lttime.h & gt
void main()
{
srand(time(0));
for(int I = 1;我& lt=7;i++)
cout & lt& ltrand()% 10 & lt;& lt' ';//生成0到9的隨機數。
cout & lt& ltendl
}