import java.util.Random;

public class RandomRange{
    public static void main(String[] args){
        int minValue = 5;
        int maxValue = 50;
        Random random = new Random();
        for(int i = 0; i <= 10000; i++){
            int range = random.nextInt(11)+5;
            if(range <= ){
                minValue++;
            }
           // else if(range >= maxValue){
                //maxValue++;
            //}
            else{
             maxValue++;
            }
           
        
        
        }
        System.out.printf("Minmum value is %d\n and MaxValue is %d", maxValue, minValue);
    }
}
@@ -291,16 +291,24 @@
 ange %3C= 
+minValue
 )%7B%0A     
@@ -355,18 +355,16 @@
         
-//
  else if
@@ -400,18 +400,16 @@
         
-//
 maxValue
@@ -428,11 +428,24 @@
     
-//%7D
+%7D%0A            /*
 %0A   
@@ -468,34 +468,61 @@
             
-maxValue++
+   System.out.println(%22Can't Update%22)
 ;%0A          
@@ -532,33 +532,27 @@
 %0A           
+ 
-%0A        
+*/
 %0A        %0A  
@@ -551,32 +551,41 @@
      %0A        %7D%0A
+        %0A
         System.o

Random Range 5-50. Ref # 41