Java while loop not breaking after break; statment :     import java.util.Scanner;
    
    public class LoopsEndingRemembering {
        public static void main(String[] args) {
            // program in this project exercises 36.1-36.5
            // actually this is just one program that is split in many parts
            
            Scanner reader = new Scanner(System.in);
            
           System.out.println("Type numbers: ");
           int input = Integer.parseInt(reader.nextLine());
           
           while(true){
               
               if(input == -1){
                   break;
               }
      
             }
           
           
           
           System.out.println("Thank you and see you later!");
        
    
        }
    }





//The user should be able to put in multiple numbers until -1 is reached. Once its reached it should break the loop and print the last line. 
