Design a program that prompts the user to enter the number of the month of the year. The program should then print the number of days in that month. If the user enters 1, the program should print "There are 31 days in the month." If the user enters 2 for February, the program should check if it is a leap year or not and then print the number of days in the month accordingly.