I want to make a while loop so that whenever a user inputs a blank input, it will re-ask the question until it is not empty. So far, I have this:
        Scanner scn = new Scanner(System.in);
        while (//user input is not blank) {
            System.out.print("Enter id: ");
            int id = scn.nextInt();
            System.out.print("Enter name: ");
            String last_name = scn.next();
            System.out.print("Enter phone: ");
            String first_name = scn.next();
            scn.close();
            break;
        }
i'm pretty sure i'm over thinking this but i'm not sure of the syntax or the functions.
 
     
    