which coding bolck can give you any random number from 100 to 200
Answers
Answered by
0
If you use java then
double max=200, min= 100;
double range= max-min +1;
double result = Math.random()* range;
System.out.print("random number"+ result);
if you want a random number in integer form then take int type variables and
use this statement
int result = Math.random()* range + min;
Similar questions