why would the conditional statement be used in this example code?
import java.util.Scanner;
 
  
 
 public class UserInputTask {
 
  
 
            public static void main(String[] args) {
 
                      Scanner scanner = new Scanner(System.in); 
 
                      int option; 
 
                       
 
                      do { 
 
                                 System.out.println("Select an option between 1 and 5: "); 
 
                                 option = scanner.nextInt();
 
                                 if (option &lt; 1 || option &gt; 5)
 
                                            System.out.println("You have entered a wrong option.\nPlease enter a correct option!");
 
                      } while(option &lt; 1 || option &gt; 5); 
 
                       
 
                      System.out.println("You selected option " + option);
 
            }
 
 }

Shouldn't the loop not be occurring (and therefore the conditional statement not be needed)if a user inputs a values less than 1 or greater than 5 since that is part of the while condition?