Java 用数学库函数写产生100到200之间的随机数

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/pxl20171799/article/details/84993837
                int x,y;
		x=(int)Math.random()*100+101;
		y=(int)Math.random()*100+101;

猜你喜欢

转载自blog.csdn.net/pxl20171799/article/details/84993837