源码文件 仿真.cpp #include "stdlib.h" #include "stdio.h" #include"iostream.h" #include #include "time.h" bool random() //产生随机数0和1; { b…