Alright i am currently making a text based RPG and im having trouble making a random number between like lets say 10 and 20.
I currently know how to make random numbers between 0 and a number.
this is the code i use to get a random number between 0 and 20.
roll = (int)(Math.random() * 20);
what i need is a number between 10 and 20 any help on how to do this would be nice.