+ 3
(int) rounds the random number to an integer so 23.23433 will be 23
Math.random(); creates a random number between 0 and 1 eg. 0.384729
*50 multiplies the random number so now we have possible numbers between 0 and 49
+1 add 1 and the possible numbers are now 1-50
hope this helps
~Kamil



