So i am having a heck of a time with this problem. I need to Ask a user for a value and then generate 100 random numbers and count the number of odd numbers above the user entered value. Ia m at a lost and just want to toss the computer in the street! Please help! Thank You! I have posted what i have so far below.
import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
    
         Scanner input = new Scanner(System.in);
            System.out.println("Enter a value between 30 and 70: ");
        
           while (true) { 
            int user = input.nextInt();        
            if (user > 70)
               System.out.println("Value higher than 70, Please re-enter value: ");
            else if (user < 30)
              System.out.println("Value lower than 30, Please re-enter a value: ");
            else
              System.out.println("The value entered by the user is " + user);
     }
 }
 
     
    