Q10: Put the code in the right order to create a program that will continue to generate integers between 1 and 100 (inclusive) until the value generated is less than 6 or greater than 95. Print the numbers generated.
import java.util.*;
public class main{
public static void main(String[] args){
---
Random r = new Random();
int x;
---
while (x >= 6 && x <= 95) {
---
x = r.nextInt(100) + 1;
---
System.out.println("value is " + x);
---
}
}
}