I'm on Vista and Java 1.6. Note that's not a full code though. In full, it would look something like
import java.awt.*;
import java.lang.Math;
public class RandomNumberGenerator {
public...
Type: Posts; User: JakeM1130
I'm on Vista and Java 1.6. Note that's not a full code though. In full, it would look something like
import java.awt.*;
import java.lang.Math;
public class RandomNumberGenerator {
public...
I'd recommend just using the math library approach
import java.lang.Math;
addsubnumber1 = (int) Math.floor(Math.random()*21);
addsubnumber2 = (int) Math.floor(Math.random()*21);