随机数函数
int random(int min,int max)
功能:产生一个
min
和
max
之间的随机整数
返回值:产生的随机整数
例:
Random(0,100)
结果为:
25
Random(0,100)
结果为:
58