public class mainMemory {
public static void main(String[] args) {
int frag1=100, frag2=200, frag3=300, frag4 ;
frag4=frag1+frag2+frag3;
// TODO, add your application code
System.out.println("Internal Frag: " +frag4 +" Kb");
}
}
Hi, I need a little help here, as u can see from the code above, frag4 is the combination of frag1+frag2+frag3. How do I set a random number to frag1, frag2, frag3? in addition the random number must not be greater than 999