Please help me make an infinite loop: after the cases show their answer, the program should instantly ask the user again.
package calendartool;
import java.io.Console;
public class CalendarTool {
    public static void main(String[] args) {
        Console C = System.console();
        int month = Integer.parseInt(C.readLine("Please put a valid month: \n"));
        int year = Integer.parseInt(C.readLine("Please put a valid year: \n"));
            switch (month) {
                case 1:
                    System.out.println("The month is January!");
                    System.out.println("January has 31 days!");
                    break;
            }
    }
}
 
     
     
     
     
    