Sorry if the code looks a bit messy from here. It's my first time posting, and wasn't sure how to format it for the site as I'm under a time constraint. 

I'm in quite a bind here. I've been trying to figure this out for quite a number of hours now, but can't seem to get around to solve it. I'm new to Java, so don't mind the code if it's a bit out of order, messy, or if it's a bit too long for what it does. My problem lies in the first few lines, under: 

"Scanner input = new Scanner(System.in);"

I was able to get the if statements working properly under the condition a number above or below 0 / 99 was entered, but if a number in between those two are entered, nothing happens. I searched in my textbook (Intro to Java Programming Comprehensive 10th edition), and can't seem to pinpoint the issue. Is there a way to have the program continue past the "if" statements and onto the lines of code that involve "input2"?

Thanks in advance!

```
package lab03;

import java.util.Scanner;

public class Lab03 {
    public static void main(String[] args) {
     Scanner input = new Scanner(System.in);
     System.out.println("Please enter an integer between 0-99: ");
     int input1 = input.nextInt();

       if (input1 < 0 || input1 > 99) 
       System.out.println(" Outside range. Please enter an integer between  0-99: ");
       input1 = input.nextInt();
       if (input1 < 0 || input1 > 99) {
        System.out.println("Outside range. Program ending.");
        System.exit(0);

       System.out.println("Next, please enter another integer between 0-99: "); 
       int input2 = input.nextInt();

       if (input2 < 0 || input2 > 99) 
       System.out.println(" Outside range. Please enter an integer between 0-99:         `enter code here`");
       input2 = input.nextInt();
       if (input2 < 0 || input2 > 99) {
        System.out.println("Outside range. Program ending.");
        System.exit(0);

```